Re: [Matplotlib-users] Scalar xmin,xmax in HLINES

2007-09-10 Thread Eric Firing
Daniel Fish wrote: > If not already addressed: It has been addressed in svn. Eric > > In order for pylab.hlines to handle scalar xmin and xmax args, the following > code should be inserted at line 2328 in axes.py > > if len(xmin)==1: > xmin = xmin*ones(y.shape, typecode(y))

Re: [Matplotlib-users] legend bg color?

2007-09-10 Thread Patrick Bradley
Hi Jose, lg = legend() lg.get_frame().set_fill(False) works for me. Let me know if this fixes it. Yours, Patrick On 9/10/07, Jose Gomez-Dans <[EMAIL PROTECTED]> wrote: > > Hi, > > On 9/5/07, Patrick Bradley <[EMAIL PROTECTED]> wrote: > > lg = legend() > > lg.get_frame().set_facecolor('black')

Re: [Matplotlib-users] legend bg color?

2007-09-10 Thread Jose Gomez-Dans
Hi, On 9/5/07, Patrick Bradley <[EMAIL PROTECTED]> wrote: > lg = legend() > lg.get_frame().set_facecolor('black') Does anyone know how to set this background to transparent? I think I sent a message to the list a few days ago, but I think it never made it... Cheers! Jose ---

[Matplotlib-users] plot different columns

2007-09-10 Thread Fabian Braennstroem
Hi, I have a small script which reads a csv file with several columns and puts it into an scipay array, which I can plot using matplotlib. It works fine, but just with explicitly setting the number of columns: res=loglog(array_mapped[:,0],array_mapped[:,1], 'b', array_mapped[:,

[Matplotlib-users] Changing the Figure _window_ title

2007-09-10 Thread Angel Ezquerra Moreu
Hi, in Matlab, it is possible to set the figure window title by using: figure('Name','Simulation Plot Window') You can even disable the numbering (i.e. the "Figure 1:" tag in the title) by using: figure('Name','Simulation Plot Window','NumberTitle','off') Is there some way of doing a similar

[Matplotlib-users] X Label cut off on imshow

2007-09-10 Thread Eduardo Lopez
Hello, I am making an image using imshow, and adding xticks and xlabel, and then saving it with savefig. I'm supplying the xticks on a list as they have custom names. On the output file, I get the xlabel cutoff. I can only see the top of it. I tryed changing a number of things but none worked.

Re: [Matplotlib-users] legend bg color?

2007-09-10 Thread Patrick Bradley
Never mind - I missed a key point in the documentation. For anyone who's wondering: lg = legend() lg.get_frame().set_facecolor('black') works fine. --Patrick On 9/5/07, Patrick Bradley <[EMAIL PROTECTED]> wrote: > > Hi all, > > Can you change the background of the figure legends generated by >

[Matplotlib-users] legend bg color?

2007-09-10 Thread Patrick Bradley
Hi all, Can you change the background of the figure legends generated by matplotlib? I'd like to have some white-on-black figures for a few presentations that I'm giving, and I can change the figure and axes facecolor attributes accordingly (as well as the default text and axis label colors), but

Re: [Matplotlib-users] Scalar xmin,xmax in HLINES

2007-09-10 Thread Daniel Fish
If not already addressed: In order for pylab.hlines to handle scalar xmin and xmax args, the following code should be inserted at line 2328 in axes.py if len(xmin)==1: xmin = xmin*ones(y.shape, typecode(y)) if len(xmax)==1: xmax = xmax*ones(y.shape, typeco

Re: [Matplotlib-users] [IPython-user] matplotlib and ipython inside ide (mac osx)

2007-09-10 Thread Fernando Perez
On 9/7/07, killian koepsell <[EMAIL PROTECTED]> wrote: > hi, > > > i am looking for help in using matplotlib inside a graphical IDE in mac osx > and preferabley even ipython with matplotlib inside an IDE. i am used to > interact with the python interpreter (inside ipython, even inside > ipython-ins