Re: [Matplotlib-users] "No such attribute" error with PDF output

2008-12-19 Thread Neil Conway
On Sat, Dec 20, 2008 at 1:32 AM, Neil Conway wrote: > I see the following error using matplotlib 0.95.1: Sorry: that should be 0.98.5.1. Neil -- ___ Matplotlib-users mailing l

[Matplotlib-users] "No such attribute" error with PDF output

2008-12-19 Thread Neil Conway
Given the following matplotlib program: ## import numpy as np import matplotlib.pyplot as plt x = np.arange(3) width = 0.35 hdfs = (292.97, 304.49, 305.47) bfs = (614.57, 706.02, 847.44) plt.subplot(111) hdfs_rects = plt.bar(x, hdfs, width, color='b') bfs_rects = plt.bar(x + width, bfs, width, c

Re: [Matplotlib-users] FancyArrowPatch without annotate

2008-12-19 Thread Jae-Joon Lee
On Wed, Dec 17, 2008 at 1:19 PM, Ken Schutte wrote: > It might be nice if eventually there were extra styles, e.g. "-|>", "<|-|>" > for single lines with solid arrowheads This is now added in the trunk. -JJ -- _

Re: [Matplotlib-users] legend: axespad, pad, handlelen, labelsep - without effect

2008-12-19 Thread Jae-Joon Lee
John, I updated api_chages.rst (but you'd better check my english). I also made a few changes so that a warning is issued when deprecated parameters are used in rc file. I deleted deprecated parameters in lib/matplotlib/rcsetup.py and also from lib/matplotlib/mpl-data/matplotlib.conf.template. I d

Re: [Matplotlib-users] requesting for testing, os x installers

2008-12-19 Thread Christopher Barker
OK: Downloaded latest (Friday, Dec 19: 1200 Pacific Time) egg and mpkg from sourceforge: egg: * cleared out all previous installs and cleaned out easy_install.pth file. * easy_install matplotlib-0.98.5.2-py2.5.egg Whoo hoo! all works great! * cleared it all out again... * Installed the mpkg

Re: [Matplotlib-users] axes placement depends on figsize?

2008-12-19 Thread Eric Firing
Ramiro Simões Lopes wrote: > Thanks, it works. > But I also found out that I was setting figsize to a smaller size than > the plot was occupying thus it wasn't working. The anchor kwarg isn't > needed if the figure is big enough. > > I still don't understand why the axes aspect ratio should depe

Re: [Matplotlib-users] histogram(x, bin): x-axis range should be based on bin.min() and bin.max() when bin is a sequence

2008-12-19 Thread Sandro Tosi
On Fri, Dec 19, 2008 at 18:47, Ondrej Certik wrote: > On Fri, Dec 19, 2008 at 6:34 PM, Sandro Tosi wrote: >> This is fixed in the latest release (0.98.4 or in 0.98.5); I'm working >> on uploading it Debian, together with John and Michael (and all dev >> team), to have a feasable release. > > Ah,

Re: [Matplotlib-users] histogram(x, bin): x-axis range should be based on bin.min() and bin.max() when bin is a sequence

2008-12-19 Thread Ondrej Certik
On Fri, Dec 19, 2008 at 6:34 PM, Sandro Tosi wrote: > Hello Ondrej, > > On Fri, Dec 19, 2008 at 18:18, Ondrej Certik wrote: >> we got this Debian bug: >> >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503148 > ... >> I tested that this applies to 0.98.3. Is this a bug? > > This is fixed in

Re: [Matplotlib-users] histogram(x, bin): x-axis range should be based on bin.min() and bin.max() when bin is a sequence

2008-12-19 Thread Sandro Tosi
Hello Ondrej, On Fri, Dec 19, 2008 at 18:18, Ondrej Certik wrote: > we got this Debian bug: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503148 ... > I tested that this applies to 0.98.3. Is this a bug? This is fixed in the latest release (0.98.4 or in 0.98.5); I'm working on uploading

[Matplotlib-users] histogram(x, bin): x-axis range should be based on bin.min() and bin.max() when bin is a sequence

2008-12-19 Thread Ondrej Certik
Hi, we got this Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503148 Citing: " the following python code creates a histogram with an x-axis range of 0.1 min to 0.3 max (based on the mins and maxes of the x rather than bin). the bins should be used to size the axis since the user

Re: [Matplotlib-users] legend: axespad, pad, handlelen, labelsep - without effect

2008-12-19 Thread John Hunter
On Fri, Dec 19, 2008 at 8:36 AM, Jae-Joon Lee wrote: > The legend class has been reimplemented recently and the name of some > keyword arguments (and their meaning) has been changed. Those > parameters you're using are deprecated ones. It is supposed to show > you some warnings if deprecated param

Re: [Matplotlib-users] legend: axespad, pad, handlelen, labelsep - without effect

2008-12-19 Thread Jae-Joon Lee
The legend class has been reimplemented recently and the name of some keyword arguments (and their meaning) has been changed. Those parameters you're using are deprecated ones. It is supposed to show you some warnings if deprecated parameters are used, so what you see is a bug. I'll take a look. I

Re: [Matplotlib-users] mathtext acting weird under macosx backend

2008-12-19 Thread Michael Droettboom
Can you please provide a screenshot of what you are seeing? I don't run Mac OS-X myself, so have no experience with the Mac OS-X-specific backend... however, it appears to be drawing regular text with native APIs (ATSUI etc.) and mathtext using matplotlib's freetype backend and blitting an ima

[Matplotlib-users] legend: axespad, pad, handlelen, labelsep - without effect

2008-12-19 Thread Lebostein
Hi, please open the legend_demo3: http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/legend_demo3.py 1. add this line: pylab.rc('legend', axespad=0.0, pad=0.0, handlelen=0.0, labelsep=0.0) 2. add this line: pylab.rc('legend', axespad=10.0, pad=10.0, handlelen=10.0, lab