Re: [Matplotlib-users] Different xtick pads for subplots within figure

2011-04-20 Thread Jae-Joon Lee
This seems to be a bug in matplotlib. I just opened a bug track for it. https://github.com/matplotlib/matplotlib/issues/88 As a workaround, try ax3.tick_params(pad=20) Regards, -JJ On Tue, Mar 15, 2011 at 10:43 AM, NotBrianCox wrote: > > I'm plotting a series of sub plots within a figure, w

Re: [Matplotlib-users] how to scale colorbar size to image size?

2011-04-20 Thread Jae-Joon Lee
On Tue, Apr 12, 2011 at 3:31 AM, Jonathan Slavin wrote: > (Shouldn't the default behavior > be to scale to height if the colorbar is vertical and width if its > horizontal?) Because of the design of the matplotlib, this is not straight forward to implement. While there could be a few ways to do

[Matplotlib-users] Crash using twin axis label with PyGTK

2011-04-20 Thread Jason Heeris
I'm playing around with using Matplotlib in my PyGTK app, and keep triggering a crash. I've narrowed it down to this bit of code: import pygtk import gtk from matplotlib.backends.backend_gtk import FigureCanvasGTK from matplotlib.figure import Figure def TestGraph(one, two, three): figu

Re: [Matplotlib-users] Memory leakage in matplotlib 1.0.1 with wx 2.8.11.0

2011-04-20 Thread Oren Gampel
I have now tested this with version 1.1.0svn from the trunk of the dev repository. I believe this version contains Michael Droettboo's patch for pyCXX. ( https://sourceforge.net/tracker/index.php?func=detail&aid=3115633&group_id=3180&atid=103180) Unfortunately the leak is still evident in the smal

Re: [Matplotlib-users] plotting points/locations from data file

2011-04-20 Thread Michael Rawlins
These commands plot points on a map in my code using python, matplotlib, and basemap.  Thanks to Ian and Glenn for their assistance.  Turns out lat, lon needed to be transformed into Lambert's coordinate space upon which the rest of the map is based. If anyone knows of a more elegant way to wor

Re: [Matplotlib-users] Possible memory leak?

2011-04-20 Thread Michael Droettboom
On 04/20/2011 11:27 AM, Caleb Constantine wrote: > On Wed, Apr 20, 2011 at 9:29 AM, Michael Droettboom wrote: >> On 04/20/2011 07:48 AM, Caleb Constantine wrote: >>> On Tue, Apr 19, 2011 at 2:25 PM, Michael Droettboom >>> wrote: Ok. I have a RHEL5 Linux box with Python 2.7.1. W

Re: [Matplotlib-users] Possible memory leak?

2011-04-20 Thread Caleb Constantine
On Wed, Apr 20, 2011 at 9:29 AM, Michael Droettboom wrote: > On 04/20/2011 07:48 AM, Caleb Constantine wrote: >> On Tue, Apr 19, 2011 at 2:25 PM, Michael Droettboom  wrote: >>> Ok.  I have a RHEL5 Linux box with Python 2.7.1. >>> >>> With Numpy 1.4.1 and 1.5.1 I don't see any leaks.  With Numpy gi

Re: [Matplotlib-users] Possible memory leak?

2011-04-20 Thread Michael Droettboom
On 04/20/2011 07:48 AM, Caleb Constantine wrote: > On Tue, Apr 19, 2011 at 2:25 PM, Michael Droettboom wrote: >> Ok. I have a RHEL5 Linux box with Python 2.7.1. >> >> With Numpy 1.4.1 and 1.5.1 I don't see any leaks. With Numpy git HEAD, >> I did see a leak -- I submitted a pull request to Numpy

Re: [Matplotlib-users] Possible memory leak?

2011-04-20 Thread Caleb Constantine
On Tue, Apr 19, 2011 at 2:25 PM, Michael Droettboom wrote: > Ok.  I have a RHEL5 Linux box with Python 2.7.1. > > With Numpy 1.4.1 and 1.5.1 I don't see any leaks.  With Numpy git HEAD, > I did see a leak -- I submitted a pull request to Numpy here: > >   https://github.com/numpy/numpy/pull/76 > >

Re: [Matplotlib-users] plotting points/locations from data file

2011-04-20 Thread Heiko Bauke
Hi, On Tue, 19 Apr 2011 13:09:23 -0700 (PDT) Michael Rawlins wrote: > I'm reading > the latitudes and longitudes from a file, with each lat, lon pair on > each record (line). I use loadtxt for this purpose. http://www.scipy.org/Cookbook/InputOutput http://www.neuralwiki.org/index.php?title=Lo