Re: [Matplotlib-users] How to find the version of matplotlib I have?

2010-10-28 Thread Richard D. Moores
Thanks to you both. Dick Moores -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M

Re: [Matplotlib-users] How to find the version of matplotlib I have?

2010-10-28 Thread Benjamin Root
On Sun, Oct 24, 2010 at 7:49 PM, Richard D. Moores wrote: > f have Python 2.6.4 on my 64-bit Vista computer, with matplotlib > installed. How can I find what version of matplotlib it is? > > Thanks, > > Dick Moores > > There must be a backlog of messages in the mailing list, sorry for not getting

[Matplotlib-users] Math font warnings

2010-10-28 Thread Markus Peloquin
Hi, list. Whenever I use matplotlib, I see the following set of warnings: /usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1242: UserWarning: findfont: Font family ['cmb10'] not found. Falling back to Bitstream Vera Sans (prop.get_family(), self.defaultFamily[fontext])) /usr/lib64

Re: [Matplotlib-users] Confirming problem with matplotlib.pyplot.show()

2010-10-28 Thread Pradyumna
Hello All, I am running into same issue except mine won't go away even when I went back to matplotlib 0.99. Also, something curious I noticed - when I run the examples, I don't get this error message. Please let me know if you have any suggestions. Thanks! Pradyumna Benjamin Root-2 wrote: >

Re: [Matplotlib-users] Text overlapping in mplot3d legends

2010-10-28 Thread Luis Quesada
On 25/10/2010 01:15, Benjamin Root wrote: On Mon, Oct 18, 2010 at 8:52 AM, Luis Quesada > wrote: Dear all, Is there a way of avoiding the overlap between the text of the labels and the text of the ticks? This is what I am getting: http://4c.ucc.

[Matplotlib-users] How to find the version of matplotlib I have?

2010-10-28 Thread Richard D. Moores
I have Python 2.6.4 on my 64-bit Vista computer, with matplotlib installed. How can I find what version of matplotlib it is? Thanks, Dick Moores -- Nokia and AT&T present the 2010 Calling All Innovators-North America con

[Matplotlib-users] Documentation on AGG filters

2010-10-28 Thread Matthieu Huin
Greetings, Is there any documentation available on how to write and use AGG filters in matplotlib ? The only information I could gather comes from the rather obscure example in http://matplotlib.sourceforge.net/examples/pylab_examples/demo_agg_filter.html. This is a very powerful feature and I

[Matplotlib-users] pick_event returning wrong indices

2010-10-28 Thread Ryan dale
Here's a problem that's been driving me nuts, and I finally reduced it to a small self-contained script which can be found at http://gist.github.com/642538. The issue is that the pick_event does not always provide the correct index into the plotted data. In case this script only bugs out on my

Re: [Matplotlib-users] unwanted label clipping in gallery

2010-10-28 Thread Alan G Isaac
On 10/27/2010 9:56 PM, Ryan May wrote: > # Make the y-axis label and tick labels match the line color. > ax1.set_ylabel('exp', color='b') > for tl in ax1.get_yticklabels(): > tl.set_color('b') > Thanks. This is cool, but I think I find the colored tick labels visually distracting. Isn't a

Re: [Matplotlib-users] unwanted label clipping in gallery

2010-10-28 Thread Alan G Isaac
On 10/27/2010 8:21 PM, Paul Ivanov wrote: >def onelegend_twinaxes(axis,twin): >#make a joint axis legend >lines = twin.get_lines() >lines.extend(axis.get_lines()) >labels = [l.get_label() for l in lines] >return axis.legend(lines, labels) That works. >

Re: [Matplotlib-users] reprojecting a grid / mlab or basemap or gdal??

2010-10-28 Thread John
Jeff and others, I have a working solution and a non-working solution. I'm wondering whether someone can help me understand the problems in the latter. Please forgive in advance the long post, but all of my code is here. First, you can get a dataset from : ftp://sidads.colorado.edu/pub/DATASETS/s

Re: [Matplotlib-users] unwanted label clipping in gallery

2010-10-28 Thread Alan G Isaac
On 10/27/2010 9:56 PM, Ryan May wrote: > Any idea how the clipped figure problem > was solved in the past? http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg18632.html http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg18537.html fwiw, Alan ---

Re: [Matplotlib-users] Trouble with contour plot

2010-10-28 Thread Benjamin Root
On Thu, Oct 28, 2010 at 3:31 PM, Nikolaus Rath wrote: > Hello, > > I'm having a weird problem with a contour plot. Consider the following > plots: > > import cPickle as pickle > import matplotlib.pyplot as plt > (Theta, Phi, Bnormal) = pickle.load(open('trouble.pickle', 'rb')) > plt.figure(0) > f

Re: [Matplotlib-users] sudden problem with basemap and plt.colorbar()

2010-10-28 Thread John
Seems upgrading basemap to V 1.0 has solved it. So now I have: In [1]: import mpl_toolkits.basemap as Basemap In [2]: Basemap.__version__ Out[2]: '1.0' In [3]: import matplotlib as mpl In [4]: mpl.__version__ Out[4]: '1.0.0' And the tutorial runs smoothly. --john On Thu, Oct 28, 2010 at 10:30

[Matplotlib-users] Trouble with contour plot

2010-10-28 Thread Nikolaus Rath
Hello, I'm having a weird problem with a contour plot. Consider the following plots: import cPickle as pickle import matplotlib.pyplot as plt (Theta, Phi, Bnormal) = pickle.load(open('trouble.pickle', 'rb')) plt.figure(0) for i in [0, 300]: plt.plot(Theta, Bnormal[:, i], label='Bnormal at Phi

Re: [Matplotlib-users] sudden problem with basemap and plt.colorbar()

2010-10-28 Thread Benjamin Root
On Thu, Oct 28, 2010 at 3:16 PM, John wrote: > Hello, I've been using basemap with plt.colorbar for sometime, but I > just recently started to have the problem of: > AttributeError: 'NoneType' object has no attribute 'autoscale_None' > > I ran the fcstmaps.py example (GREAT EXAMPLE by the way), a

[Matplotlib-users] sudden problem with basemap and plt.colorbar()

2010-10-28 Thread John
Hello, I've been using basemap with plt.colorbar for sometime, but I just recently started to have the problem of: AttributeError: 'NoneType' object has no attribute 'autoscale_None' I ran the fcstmaps.py example (GREAT EXAMPLE by the way), and here is the full error I get: Traceback (most recent

Re: [Matplotlib-users] Possible to get variable spacing between certain subplots?

2010-10-28 Thread Benjamin Root
On Thu, Oct 28, 2010 at 1:18 PM, Will Grover wrote: > Hello matplotlib-users, > > I'm using subplots to make an array of plots, but because some of the plots > have wider y-axis tick labels than others, some of the subplots end up > looking too close to each other. Here's an image that shows wha

[Matplotlib-users] Possible to get variable spacing between certain subplots?

2010-10-28 Thread Will Grover
Hello matplotlib-users, I'm using subplots to make an array of plots, but because some of the plots have wider y-axis tick labels than others, some of the subplots end up looking too close to each other. Here's an image that shows what I mean: http://web.mit.edu/wgrover/www/spacing.png I'm cu

Re: [Matplotlib-users] bus error on os x 10.6

2010-10-28 Thread K . -Michael Aye
I once had bus errors when i mixed gdal with Enthought, because gdal brought it's own numpy version, that didn't match Enthoughts. In a pure pure Enthought environment where really nothing else is installed, this should not happen, I think. BR, Michael On 2010-10-28 05:06:46 +0200, Lou Wicker

Re: [Matplotlib-users] Installing matplotlib from source on Snow Leopard

2010-10-28 Thread Friedrich Romstedt
SORRY DON'T USE IT FOR NOW There was some mistake even in the freetype instructions. I was tooo quick. I will post once I've tested everything. cu Friedrich 2010/10/27 Friedrich Romstedt : > Maybe you can make use of this, it's not complete but I'll work on it > tomorrow. > > ESPECIALLY for