[Matplotlib-users] please help with arrow drawing.

2011-10-17 Thread Piter_
Hi all I want to draw an two headed arrow between two points. But I get a line. What I am doing wrong? I actually try to plot an image similar to this one: http://upload.wikimedia.org/wikipedia/commons/a/a3/Parameters_of_the_Marcus_Equation.JPG may be I can use an annotate function for this.

[Matplotlib-users] 0.99.1.2: error in afm.py

2011-10-17 Thread Rich Shepard
After a long hiatus I'm again working on an application and just upgraded matplotlib from 0.98.5.2 to 0.99.1.2. However, there's an error on start up that I need your help in resolving. There are many dozens of lines containing: Found an unknown keyword in AFM header (was Underline) The

Re: [Matplotlib-users] 0.99.1.2: error in afm.py

2011-10-17 Thread Benjamin Root
On Mon, Oct 17, 2011 at 12:57 PM, Rich Shepard rshep...@appl-ecosys.comwrote: After a long hiatus I'm again working on an application and just upgraded matplotlib from 0.98.5.2 to 0.99.1.2. However, there's an error on start up that I need your help in resolving. There are many dozens of

Re: [Matplotlib-users] 0.99.1.2: error in afm.py

2011-10-17 Thread Rich Shepard
On Mon, 17 Oct 2011, Benjamin Root wrote: In the afm.py file, a before line 167, can you print the value of the line variable and tell us what it is? Ben, Here are lines 158-167: while 1: line = fh.readline() if not line: break line = line.rstrip()

Re: [Matplotlib-users] 0.99.1.2: error in afm.py

2011-10-17 Thread Benjamin Root
On Monday, October 17, 2011, Rich Shepard rshep...@appl-ecosys.com wrote: On Mon, 17 Oct 2011, Benjamin Root wrote: In the afm.py file, a before line 167, can you print the value of the line variable and tell us what it is? Ben, Here are lines 158-167: while 1: line =

[Matplotlib-users] matplotlib.rcParams(update) and parallel python

2011-10-17 Thread tinux
I have around 100 python files, that each create one figure using matplotlib. Since I want to use all CPU cores, I basically did for filename in files: execfile(filename) using a python script. However, this does not produce the same output as running each file separately (for instance axes,

Re: [Matplotlib-users] 0.99.1.2: error in afm.py

2011-10-17 Thread Rich Shepard
On Mon, 17 Oct 2011, Benjamin Root wrote: On line 166, I want you to put print 'Line:', line. Then, rerun your program and report back what the output of that print statement. Ben, Sorry I mis-understood your request. I redirected the output to a file 'error.log' and it contains

Re: [Matplotlib-users] 0.99.1.2: error in afm.py

2011-10-17 Thread Benjamin Root
On Monday, October 17, 2011, Rich Shepard rshep...@appl-ecosys.com wrote: On Mon, 17 Oct 2011, Benjamin Root wrote: On line 166, I want you to put print 'Line:', line. Then, rerun your program and report back what the output of that print statement. Ben, Sorry I mis-understood your

Re: [Matplotlib-users] 0.99.1.2: error in afm.py

2011-10-17 Thread Rich Shepard
On Mon, 17 Oct 2011, Benjamin Root wrote: I only need the last line printed by that print statement. I want to see how the parsing failed. Ben, Here are the last 3: Line: C 125 ; WX 273 ; N braceright ; B 55 -68 244 707 ; Line: C 126 ; WX 586 ; N asciitilde ; B 39 219 531 408 ; Line: C

[Matplotlib-users] Figure legend for 1.1.0 doesn't properly handle errorbars?

2011-10-17 Thread Sterling Smith
Let me first say that I appreciate the work that the developers have put into matplotlib. You're doing a great job. I have filed a bug report at https://github.com/matplotlib/matplotlib/issues/533 wherein I post the following Consider: from pylab import * x = arange(0,1,.01) y = x**2 fig

[Matplotlib-users] Matplotlib 1.1.0 Error in triangulation.py

2011-10-17 Thread Floyd John
Hello, I have read your instruction for bug reporting but this is fairly simple. There is a call to self.get_cpp_triangulation() which exists but there is also a call to self._get_cpp_triangulation at line 174 to obtain the neighbours. Easy to fix. Regards John

Re: [Matplotlib-users] Figure legend for 1.1.0 doesn't properly handle errorbars?

2011-10-17 Thread Jae-Joon Lee
Somehow, Figure.legend flattens the given handle list and this is the cause of the problem. https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/figure.py#L994 Does anyone know why this is necessary? I just filed a pull request to remove this.

Re: [Matplotlib-users] Matplotlib 1.1.0 Error in triangulation.py

2011-10-17 Thread John Hunter
On Mon, Oct 17, 2011 at 6:58 PM, Floyd John john.fl...@environment.nsw.gov.au wrote: Hello, I have read your instruction for bug reporting but this is fairly simple. There is a call to self.get_cpp_triangulation() which exists but there is also a call to self._get_cpp_triangulation at line

Re: [Matplotlib-users] matplotlib.rcParams(update) and parallel python

2011-10-17 Thread John Hunter
On Mon, Oct 17, 2011 at 2:57 PM, tinux hoffmann.mar...@gmail.com wrote: I have around 100 python files, that each create one figure using matplotlib. Since I want to use all CPU cores, I basically did for filename in files: execfile(filename) using a python script. However, this does not

[Matplotlib-users] ellipsoids

2011-10-17 Thread pratik
Is there a function that can draw an ellipsoid like matlab's ellipsoid function? relevant: http://stackoverflow.com/questions/2153768/draw-ellipse-and-ellipsoid-in-matlab Thanks, -- All the data continuously generated in

Re: [Matplotlib-users] ellipsoids

2011-10-17 Thread Benjamin Root
On Mon, Oct 17, 2011 at 10:42 PM, pratik pratik.mallya...@gmail.com wrote: Is there a function that can draw an ellipsoid like matlab's ellipsoid function? relevant: http://stackoverflow.com/questions/2153768/draw-ellipse-and-ellipsoid-in-matlab Thanks, from matplotlib.patches import