Re: [matplotlib-devel] Patch for Qt4 backend for IPython GUI

2010-08-27 Thread Eric Firing
On 08/26/2010 05:13 PM, Brian Granger wrote: > Hi, > > We are in the process of getting our new Qt IPython GUI working with > matplotlib. One problem we have found is that the matplotlib qt4 > backend always creates a QApplication. This is problematic in > situations where another part of an appl

Re: [matplotlib-devel] [Matplotlib-users] plotting an arrow outside of the plot does not work any more

2010-08-27 Thread Benjamin Root
On Fri, Aug 27, 2010 at 7:21 AM, Stan Schymanski wrote: > Dear all, > > I don't know which update it was that broke it, but this used to work: > > import numpy > import pylab > pylab.clf() > fig = pylab.figure(1,figsize=(8,5)) > ax = fig.add_subplot(111, autoscale_on=False, xlim=(-1,5), > ylim=(-4

[matplotlib-devel] Issue with Ellipses and PatchCollections

2010-08-27 Thread Thomas Robitaille
Hi, The following code: from matplotlib.patches import Ellipse from matplotlib.collections import PatchCollection p = PatchCollection([Ellipse((0.5,0.5),0.2,0.1)], match_original=True) raises the following exception: Traceback (most recent call last): File "test_patches.py", line 5, in p

Re: [matplotlib-devel] Issue with Ellipses and PatchCollections

2010-08-27 Thread Ryan May
On Fri, Aug 27, 2010 at 12:20 PM, Thomas Robitaille wrote: > Hi, > > The following code: > > from matplotlib.patches import Ellipse > from matplotlib.collections import PatchCollection > p = PatchCollection([Ellipse((0.5,0.5),0.2,0.1)], match_original=True) > > raises the following exception: > >

Re: [matplotlib-devel] Issue with Ellipses and PatchCollections

2010-08-27 Thread Eric Firing
On 08/27/2010 09:09 AM, Ryan May wrote: > On Fri, Aug 27, 2010 at 12:20 PM, Thomas Robitaille > wrote: >> Hi, >> >> The following code: >> >> from matplotlib.patches import Ellipse >> from matplotlib.collections import PatchCollection >> p = PatchCollection([Ellipse((0.5,0.5),0.2,0.1)], match_ori

[matplotlib-devel] Issue with linestyles and match_original in PatchCollection

2010-08-27 Thread Thomas Robitaille
Hi, It seems that the match_original=True option in PatchCollection does not preserve line style. Is this deliberate? If not, here is a patch for collections.py: Index: collections.py === --- collections.py (revision 8664) +++

Re: [matplotlib-devel] purpose of 'stepfilled' in hist()?

2010-08-27 Thread Erik Tollerud
I also completely agree that, ideally, hist/bar/box would get a full re-write... A re-write of the hist side of things would be very useful for me, and something that I might end up doing myself, if I can find the time. I haven't really done anything with the bar or box plots, though, so I'm not