Re: [Matplotlib-users] clearing a figure

2007-01-09 Thread Eric Firing
belinda thom wrote: > One of the reasons I'm confused is b/c when I poked around, I found a > clear method: > > >>> help(pylab.gcf().clear) > Help on method clear in module matplotlib.figure: > > clear(self) method of matplotlib.figure.Figure instance > Clear the figure > > but when I ex

[Matplotlib-users] idle and ipython and axis

2007-01-09 Thread belinda thom
Hi, I've been playing w/both IDLE and IPython, using TkAgg in both cases as the back end. Also, I've got the latest matplotlib and ipython versions and am using MacPython's 2.4.4 IDLE. It seems that if IDLE is not invoked w/the -n flag, the figures that are drawn can often get the "whirlin

Re: [Matplotlib-users] clearing a figure

2007-01-09 Thread belinda thom
One of the reasons I'm confused is b/c when I poked around, I found a clear method: >>> help(pylab.gcf().clear) Help on method clear in module matplotlib.figure: clear(self) method of matplotlib.figure.Figure instance Clear the figure but when I execute this on my open figure: >>>pylab

[Matplotlib-users] clearing a figure

2007-01-09 Thread belinda thom
Hello, I'm a new matplotlib user, coming from the Matlab end. Is there a standard way to create a figure (here I'd like the equivalent of matlab's hold on, so I can draw multiple things) and then clear the figure (so the drawing goes away) so I can repeat the process again? The commands to

Re: [Matplotlib-users] axis not accepting keyword arguments any longer?

2007-01-09 Thread John Hunter
> "Marcel" == Marcel Oliver <[EMAIL PROTECTED]> writes: Marcel> TypeError: set_ylim() got an unexpected keyword argument Marcel> 'xmin' WARNING: Failure executing file: This is a bug -- thanks for reporting it. I just committed changes to svn to fix it. JDH ---

Re: [Matplotlib-users] axis not accepting keyword arguments any longer?

2007-01-09 Thread Eric Firing
It is a bug. I don't know how or when it was introduced. I can fix it in svn later today. Eric Marcel Oliver wrote: > Hi, I am running some code which used to work a couple of months ago, > but now fails on the "axis" command which does not seem to accept > keyword arguments any longer (curren

[Matplotlib-users] axis not accepting keyword arguments any longer?

2007-01-09 Thread Marcel Oliver
Hi, I am running some code which used to work a couple of months ago, but now fails on the "axis" command which does not seem to accept keyword arguments any longer (current version 0.87.7 from Fedora Extras, previous version probably 0.87.4 or so). Traceback is below... Any ideas? Thanks, Marce

[Matplotlib-users] Matplotlib temporary files

2007-01-09 Thread Etrade Griffiths
Hi have a Python application using matplotlib installed on a windows machine using PY2EXE. Am having some problems because the application appears to be writing some temporary files to C:\ but users do not have permission to write to this directory. It looks like matplotlib is writing the tem

Re: [Matplotlib-users] mathtext fonts

2007-01-09 Thread Darren Dale
On Tuesday 09 January 2007 13:54, Christopher Barker wrote: > > On Tuesday 09 January 2007 12:56, Lane Brooks wrote: > >> Is there a way to get latex to use Ariel font and not italic? If I use > >> the \rm{} command I can get rid of italic, but it is using a serif font > >> and I cannot find any d

Re: [Matplotlib-users] mathtext fonts

2007-01-09 Thread Christopher Barker
> On Tuesday 09 January 2007 12:56, Lane Brooks wrote: >> Is there a way to get latex to use Ariel font and not italic? If I use >> the \rm{} command I can get rid of italic, but it is using a serif font >> and I cannot find any documentation on how to change that font. You can't (easily )get Ar

Re: [Matplotlib-users] mathtext fonts

2007-01-09 Thread Darren Dale
On Tuesday 09 January 2007 12:56, Lane Brooks wrote: > Is there a way to get latex to use Ariel font and not italic? If I use > the \rm{} command I can get rid of italic, but it is using a serif font > and I cannot find any documentation on how to change that font. Arial fonts are not supported b

[Matplotlib-users] mathtext fonts

2007-01-09 Thread Lane Brooks
Is there a way to get latex to use Ariel font and not italic? If I use the \rm{} command I can get rid of italic, but it is using a serif font and I cannot find any documentation on how to change that font. Thanks, Lane Brooks --

Re: [Matplotlib-users] text in axis coords

2007-01-09 Thread Lionel Roubeyrie
Arg, sorry, stupid question, I didn't use valid limits. Le Mardi 09 Janvier 2007 12:32, Lionel Roubeyrie a écrit : > Hi all, > I need to set texts on figures in axis coords, not data coords. > Following "text" doc, transform=ax.transAxes seems not working : > ## > > |~|[32]>ax=

[Matplotlib-users] text in axis coords

2007-01-09 Thread Lionel Roubeyrie
Hi all, I need to set texts on figures in axis coords, not data coords. Following "text" doc, transform=ax.transAxes seems not working : ## |~|[32]>ax=subplot(111) |~|[33]>text( 0.0, 1.0, 'text1', transform=ax.transData, color='r' ) Out [33]: |~|[34]>text( 1.0, 1.0, 'text2',