Re: [Matplotlib-users] segfault related to NavigationToolbar when using PySide

2012-07-06 Thread Eric Firing
On 2012/07/05 11:33 PM, TP wrote: > Hi everybody, > > The following is a small test yielding a segmentation fault with PySide, but > not with PyQt4. > > To test with PyQt4, use: > $ python example.py > > To test with PySide: > $ python example.py pyside > > With PySide, a segmentation fault appears

[Matplotlib-users] clean way to build subplots with sharex only on same colomn and sharey only on same row?

2012-07-06 Thread Chao YUE
dear all, I want to build a 5X3 subplots matrix that I want the xaxis is shared only on the same column and yaxis shared only on the same row. While using plt.subplots(5,3,sharex=True, sharey=True) will put all subplots as both shared xaxis and yaxis. The other option is to do like this to create

Re: [Matplotlib-users] bbox_inches='tight' from the navigation toolbar

2012-07-06 Thread Benjamin Root
On Fri, Jul 6, 2012 at 2:36 PM, Saurav Pathak wrote: > Hi, > > I would often save figures after show() from the savefig button on the > navigation toolbar. I would like to trim white spaces using something > akin to bbox_inches='tight', but haven't been able to figure out how. I > tried adding

Re: [Matplotlib-users] bbox_inches='tight' from the navigation toolbar

2012-07-06 Thread Jerzy Karczmarczuk
Saurav Pathak: I would often save figures after show() from the savefig button on the navigation toolbar. I would like to trim white spaces using something akin to bbox_inches='tight', but haven't been able to figure out how. I tried adding the following to matplotlibrc, but to no avail. Adjus

[Matplotlib-users] bbox_inches='tight' from the navigation toolbar

2012-07-06 Thread Saurav Pathak
Hi, I would often save figures after show() from the savefig button on the navigation toolbar. I would like to trim white spaces using something akin to bbox_inches='tight', but haven't been able to figure out how. I tried adding the following to matplotlibrc, but to no avail: savefig.bbox_i

Re: [Matplotlib-users] conflicts with navigation bar events

2012-07-06 Thread Benjamin Root
On Wed, Jul 4, 2012 at 3:15 AM, wrote: > Hi Ben, > > thanks for the tip! > I nevertheless hit another snag: > In [12]: [(k,p.rcParams[k]) for k in p.rcParams.keys() if 'keymap' in k] > Out[12]: > [('keymap.all_axes', ['a']), > ('keymap.back', ['left', 'c', 'backspace']), > ('keymap.forward', ['

[Matplotlib-users] segfault related to NavigationToolbar when using PySide

2012-07-06 Thread TP
Hi everybody, The following is a small test yielding a segmentation fault with PySide, but not with PyQt4. To test with PyQt4, use: $ python example.py To test with PySide: $ python example.py pyside With PySide, a segmentation fault appears as soon as the mouse cursor is hovering the plot ar