Re: [Matplotlib-users] draw after set_data

2010-09-08 Thread Eric Firing
On 09/07/2010 07:33 PM, Philippe Crave wrote: hi, sorry to bring this up again. style haven't found how to draw my plot faster than self.fig.canvas.draw(), after a set_data() If you need to change the scale of the plot when you update the data, then I don't see any alternative to redoing

Re: [Matplotlib-users] drawing circles with scatter

2010-09-08 Thread Guillaume Chérel
It works great with patches of circles. Thank you. Also, I want my circles to look round, so I use the command axis('equal'). Is there any way to make sure that the area I defined with xlim() and ylim() won't be cut off. I'd rather have one dimension expanded than the other one shrunk. Can I

Re: [Matplotlib-users] drawing circles with scatter

2010-09-08 Thread Guillaume Chérel
It works great with patches of circles. Thank you. Also, I want my circles to look round, so I use the command axis('equal'). Is there any way to make sure that the area I defined with xlim() and ylim() won't be cut off. I'd rather have one dimension expanded than the other one shrunk. Can I

Re: [Matplotlib-users] Images as markers in matplotlib?

2010-09-08 Thread Jae-Joon Lee
Images can placed at arbitrary position (using the extent keyword). I think this is enough as far as you're careful with the aspect. Looking at the wikipedia example, I don't see any reason that this cannot be done with matplotlib. Regards, -JJ On Wed, Sep 8, 2010 at 6:34 AM, Joshua Holbrook

Re: [Matplotlib-users] drawing circles with scatter

2010-09-08 Thread Ryan May
2010/9/8 Guillaume Chérel guillaume.c.che...@gmail.com: It works great with patches of circles. Thank you. Also, I want my circles to look round, so I use the command axis('equal'). Is there any way to make sure that the area I defined with xlim() and ylim() won't be cut off. I'd rather have

Re: [Matplotlib-users] Line changes color along its length

2010-09-08 Thread Jonathan Slavin
This is of interest to me, and it's nice to know that this is do-able with matplotlib, but like many of the examples, I find it sorely lacking in documentation. For example, why are the points and segments arrays shaped so specifically the way they are? Why the call to set_array? Could the same

Re: [Matplotlib-users] Line changes color along its length

2010-09-08 Thread Brian Larsen
Perfect thank you, no wonder I didnt find it, plt.gca().add_collection(lc) never found its way to my radar. Cheers, Brian On Sep 7, 2010, at 7:58 PM, Ryan May wrote: On Tue, Sep 7, 2010 at 6:50 PM, Brian Larsen balar...@lanl.gov wrote: Hey all, I think I know the answer here as no or

Re: [Matplotlib-users] Span Selector and Rectangular Selector in wxpython on Windows

2010-09-08 Thread Aman Thakral
Sorry, This was just a silly mistake. I forgot declare the selectors as class variables (by adding self in front of them). -Aman On Tue, Sep 7, 2010 at 1:37 PM, Aman Thakral aman.thak...@gmail.com wrote: Hi, I seem to be encountering a strange problem. I'm using a SpanSelector and a

Re: [Matplotlib-users] How to get all data points plotted/displayed in a line plot

2010-09-08 Thread Michael Droettboom
I believe this is now fixed in r8691 (branch and trunk). Mike On 09/03/2010 02:51 PM, Eric Firing wrote: On 08/31/2010 01:08 AM, Jens Nie wrote: Hi everyone. I face a problem here, which I can’t seem to handle by myself, so any help is really appreciated. I would like to do a simple

[Matplotlib-users] Math fonts not working after upgrading to MPL 1.0

2010-09-08 Thread Jeremy Conlin
I have trouble getting any symbols or any super/sub scripts to work since I upgraded to 1.0 a few months ago. I always get a message saying that some font isn't found. This occurs whenever I try to put symbols, superscripts, or subscripts in a label, or when I use a log scale (because then it

[Matplotlib-users] matplotlib import warning

2010-09-08 Thread Gökhan Sever
Hello, My usual ipython -pylab is giving me these warnings after I installed matplotlib from the source (matplotlib rev.8624 using python setupegg.py develop). /usr/lib/python2.6/site-packages/EPDLab-3.0.1.dev_r24658-py2.6.egg/enthought/__init__.py:7: UserWarning: Module dateutil was already

Re: [Matplotlib-users] Math fonts not working after upgrading to MPL 1.0

2010-09-08 Thread Tony S Yu
On Sep 8, 2010, at 11:56 AM, Jeremy Conlin wrote: I have trouble getting any symbols or any super/sub scripts to work since I upgraded to 1.0 a few months ago. I always get a message saying that some font isn't found. This occurs whenever I try to put symbols, superscripts, or subscripts

Re: [Matplotlib-users] Uniform transparency and background color?

2010-09-08 Thread Michael Droettboom
On 09/02/2010 10:23 AM, Benjamin Root wrote: On Thu, Sep 2, 2010 at 9:11 AM, Ryan May rma...@gmail.com mailto:rma...@gmail.com wrote: On Thu, Sep 2, 2010 at 2:15 AM, Mitesh Patel qed...@gmail.com mailto:qed...@gmail.com wrote: Hello, Is it possible to specify both an

Re: [Matplotlib-users] matplotlib import warning

2010-09-08 Thread Aman Thakral
try this in the terminal: python -c import matplotlib -Aman On Wed, Sep 8, 2010 at 12:17 PM, Gökhan Sever gokhanse...@gmail.com wrote: Hello, My usual ipython -pylab is giving me these warnings after I installed matplotlib from the source (matplotlib rev.8624 using python setupegg.py

Re: [Matplotlib-users] Math fonts not working after upgrading to MPL 1.0

2010-09-08 Thread Jeremy Conlin
On Wed, Sep 8, 2010 at 10:42 AM, Tony S Yu tsy...@gmail.com wrote: On Sep 8, 2010, at 11:56 AM, Jeremy Conlin wrote: I have trouble getting any symbols or any super/sub scripts to work since I upgraded to 1.0 a few months ago.  I always get a message saying that some font isn't found.  This

Re: [Matplotlib-users] matplotlib import warning

2010-09-08 Thread Gökhan Sever
It is clear with python -c import matplotlib I can't seem to find any dateutil phrase occurring within the IPython installation folder (/site-packages/IPython) Where else to look for? On Wed, Sep 8, 2010 at 12:35 PM, Aman Thakral aman.thak...@gmail.comwrote: try this in the terminal: python

Re: [Matplotlib-users] Math fonts not working after upgrading to MPL 1.0

2010-09-08 Thread Tony S Yu
On Sep 8, 2010, at 2:10 PM, Jeremy Conlin wrote: On Wed, Sep 8, 2010 at 10:42 AM, Tony S Yu tsy...@gmail.com wrote: On Sep 8, 2010, at 11:56 AM, Jeremy Conlin wrote: I have trouble getting any symbols or any super/sub scripts to work since I upgraded to 1.0 a few months ago. I always

Re: [Matplotlib-users] Math fonts not working after upgrading to MPL 1.0

2010-09-08 Thread Andre Walker-Loud
It may not be an MPL issue, but rather Snow Leopard. I have a friend who had font troubles, but it was because Mac OSX 10.6 (Snow Leopard) changed the way fonts are handled. He had a file in his home directory (which he created on 10.5) which had some font specifications, which he had to