[Matplotlib-users] Legend bug with patches?

2006-09-26 Thread Scott Ransom
Hi All, I think I might have uncovered a bug in the legend code when using multiple patches so that only the first patch type is used in the legend. In [41]: matplotlib.__version__ Out[41]: '0.87.5' (that is revision 2782 from SVN) Here is some code that shows the problem:

[Matplotlib-users] Using IndexLocator with DateFormatter

2006-09-26 Thread Richard Albright
I am trying to figure out how i can use IndexLocator with DateFormatter. Currently i am only using DayLocator and HourLocator in my code, but it is showing ticks for all hours in the plot, when I only care about plotting the hours for when data is available. I already applied date2num to my dates

Re: [Matplotlib-users] How to show up some graphs one by on e automatically

2006-09-26 Thread Alan G Isaac
http://matplotlib.sourceforge.net/faq.html#SHOW hth, Alan Isaac - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business t

[Matplotlib-users] How to distroy a widget

2006-09-26 Thread zhangh1
Thanks in advance for the command name - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys

Re: [Matplotlib-users] install matplotlib with python2.5

2006-09-26 Thread Charlie Moad
matplotlib-0.87.5 is not compatible with python2.5. We are planning a minor rev bump tomorrow to address this. You can wait until then or trying building from svn. On 9/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have installed Python 2.5 as a separate installation from 2.4, and am t

Re: [Matplotlib-users] bug in numerix?

2006-09-26 Thread Robert Kern
[EMAIL PROTECTED] wrote: > But why the compatibility function is used? Not the new one from numpy? I > didn't ask for a Numeric compatibility? > I don't understand the need to have the Numeric function when I'm using numpy. The numerix layer is also used internally by matplotlib such that it does

[Matplotlib-users] How to show up some graphs one by one automatically

2006-09-26 Thread zhangh1
Hi, I want to write a program that will show up some graphs one by one automatically, but it turns out that I have to close the very first one manually (which is not what I want), then the following will show up automatically one by one. Any suggestions will be greatly appreciated. Best Regards, Jo

Re: [Matplotlib-users] bug in numerix?

2006-09-26 Thread humufr
But why the compatibility function is used? Not the new one from numpy? I didn't ask for a Numeric compatibility? I don't understand the need to have the Numeric function when I'm using numpy. I think this is a bad "feature" perhaps not a bug but not the thing that the majority of people would li

Re: [Matplotlib-users] bug in numerix?

2006-09-26 Thread Eric Firing
It is not a bug in numerix; numerix is using an older version of where, provided by numpy for compatibility with Numeric: In [4]:numpy.where? Type: builtin_function_or_method Base Class: String Form: Namespace: Interactive Docstring: where(condition, | x, y) The

[Matplotlib-users] install matplotlib with python2.5

2006-09-26 Thread djf
I have installed Python 2.5 as a separate installation from 2.4, and am trying to install matplotlib in the site-packages of the new version. I have installed numpy and scipy successfully, but am having the following trouble when I try to setup matplotlib. Any suggestions? thank you... ___

Re: [Matplotlib-users] legend orientation

2006-09-26 Thread Lionel Roubeyrie
Le mardi 26 septembre 2006 16:29, John Hunter a écrit : > I'm not sure what you are trying to do here. How about > > ax = subplot(111) > ax.plot([1,2,3], '-', label='a line') > ax.legend() I don't know if it's a normal way with mpl, but with your example or with my datas, the legend doesn'

[Matplotlib-users] numpy/scipy/mpl on Mac OS X with python 2.5 successful compilation

2006-09-26 Thread Rob Hetland
I successfully compiled numpy/scipy/mpl on my Intel mac (OS X 10.4.7 with gfortran) with the latest Universal MacPython 2.5. Everything went through without a hitch. I've been waiting for this for a while now (between desire for ctypes, and macpython 2.4 readline issues), and I am very h

Re: [Matplotlib-users] legend orientation

2006-09-26 Thread John Hunter
> "Lionel" == Lionel Roubeyrie <[EMAIL PROTECTED]> writes: Lionel> Yes, I have seen my error too late, thanks. But I can't Lionel> get a line in the legend, just markers? I'm not sure what you are trying to do here. How about ax = subplot(111) ax.plot([1,2,3], '-', label='a l

Re: [Matplotlib-users] legend orientation

2006-09-26 Thread Lionel Roubeyrie
Le mardi 26 septembre 2006 14:22, John Hunter a écrit : > Make sure you pass in a list of strings, and not a single string. If > you have just a single string, it interprets it as a list of > characters. > > JDH Yes, I have seen my error too late, thanks. But I can't get a line in the legend, just

Re: [Matplotlib-users] legend orientation

2006-09-26 Thread John Hunter
> "Lionel" == Lionel Roubeyrie <[EMAIL PROTECTED]> writes: Lionel> Hi all, I have some minor problems with legend, but I Lionel> don't find how to figure out: - if the figure contains Lionel> only one plot, the text orientation of the legend is Lionel> vertical. How can I chang

[Matplotlib-users] bug in numerix?

2006-09-26 Thread humufr
Hi, I think there are a bug in numerix. I was expecting the same result from pylab.where and numpy.where (in my matplotlibrc I have numerix define for numpy) but like you can see in the following example the result is quite different. N. Python 2.4.3 (#2, Apr 27 2006, 14:43:58) Type "copy

[Matplotlib-users] legend orientation

2006-09-26 Thread Lionel Roubeyrie
Hi all, I have some minor problems with legend, but I don't find how to figure out: - if the figure contains only one plot, the text orientation of the legend is vertical. How can I change this? - when plots are in '-' style without markers, the lines are not shown in the legend, I just have t