Re: [Matplotlib-users] Inexact drawing of points

2011-11-07 Thread Anton Daitche
Hi, As I remember from an earlier discussion on this, it's assumed that > these small deviations are tolerable in the agg renderer. This makes > the interactive backends more responsive at expenses of accuracy. > Do you remember the name of the thread? I would like to understand the details on th

Re: [Matplotlib-users] bug in set_autoscalez_on in mplot3d 1.1.0

2011-11-07 Thread Christoph Gohlke
On 11/6/2011 11:18 AM, krastanov.ste...@gmail.com wrote: > /usr/lib/pymodules/python2.7/mpl_toolkits/mplot3d/axes3d.pyc in > set_autoscale_on(self, b) > 252 """ > 253 Axes.set_autoscale_on(self, b) > --> 254 self.set_autoscalez_on(self, b) > 255 > 256 def s

Re: [Matplotlib-users] How to remove a contour plot?

2011-11-07 Thread Benjamin Root
On Sat, Nov 5, 2011 at 3:52 PM, krastanov.ste...@gmail.com < krastanov.ste...@gmail.com> wrote: > I suppose it is possible to delete all collections one by one, but that's > an ugly solution. And as I'm not aware of the behind the scenes work done > by contour it's a bit dangerous. > > Is there a

Re: [Matplotlib-users] Basemap AxesGrid

2011-11-07 Thread Benjamin Root
On Mon, Nov 7, 2011 at 1:40 PM, Yoshi Rokuko wrote: > > is there a way for using Basemap with AxisGrid? > > > > did someone try something like: > > > > grid = AxisGrid() > > for i in range(4): > > grid[i].scatter(with underlying Basemap) > > the common thing is probably something like: > > fi

Re: [Matplotlib-users] Basemap AxesGrid

2011-11-07 Thread Yoshi Rokuko
> is there a way for using Basemap with AxisGrid? > > did someone try something like: > > grid = AxisGrid() > for i in range(4): > grid[i].scatter(with underlying Basemap) the common thing is probably something like: fig = pl.figure() for i in range(4): fig.add_subplot(2,2,i) bm = B

Re: [Matplotlib-users] v1.1.0 crashes upon exit

2011-11-07 Thread Joel Varley
I also updated my macports last week and now also have a similar error: /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- packages/matplotlib/backends/backend_gtk.py:552: GtkWarning: gtk_widget_unrealize: assertion `GTK_IS_WIDGET (widget)' failed self.toolbar.destr

Re: [Matplotlib-users] Gradient color on a line plot

2011-11-07 Thread Paul Hobson
Gökhan, This a great trick! Much simpler than digging around with line segments and such. My old solution to this problem was so clunky and slow I'm embarrassed to post it. Thanks so much for sharing this. -paul On Sat, Nov 5, 2011 at 9:39 PM, Gökhan Sever wrote: > Hi, > I was wondering this abo

[Matplotlib-users] how do you pick the data values from a line that has been zoomed in

2011-11-07 Thread Zultek
Hello All, I have an issue with the pick event where when the zoom tool is used and then the pick event is fired, the event.ind returns the number of indexes which are visible between the zoomed xlim min and max, however the line.get_xdata() returns all of the xdata values. The issue is that the i

[Matplotlib-users] bug in set_autoscalez_on in mplot3d 1.1.0

2011-11-07 Thread krastanov.ste...@gmail.com
/usr/lib/pymodules/python2.7/mpl_toolkits/mplot3d/axes3d.pyc in set_autoscale_on(self, b) 252 """ 253 Axes.set_autoscale_on(self, b) --> 254 self.set_autoscalez_on(self, b) 255 256 def set_autoscalez_on(self, b) : TypeError: set_autoscalez_on() takes exa

[Matplotlib-users] How to remove a contour plot?

2011-11-07 Thread krastanov.ste...@gmail.com
I suppose it is possible to delete all collections one by one, but that's an ugly solution. And as I'm not aware of the behind the scenes work done by contour it's a bit dangerous. Is there a standard way to remove a contour plot? Regards Stefan Krastanov -

[Matplotlib-users] Basemap AxesGrid

2011-11-07 Thread Yoshi Rokuko
is there a way for using Basemap with AxisGrid? did someone try something like: grid = AxisGrid() for i in range(4): grid[i].scatter(with underlying Basemap) ? thank you and best regards, yoshi -- RSA(R) Conference