Re: [Matplotlib-users] Trouble with legend and axis scaling

2013-03-27 Thread Hackstein
Sterling, I'm using matplotlib version 1.2.0 with agg backend. Here are two code examples, one for each problem. The first one doesn't save the figure due to the legend problem, seterr causes the script to stop with an error at that position. The second example shows the scientific labels on

Re: [Matplotlib-users] Trouble with legend and axis scaling

2013-03-27 Thread Sterling Smith
Frix, I get the same error for your first example with v1.1.1 [although I had to comment out the med_r = np.median(x_r) to get it to run]. You should probably file a bug at [1]. I get the same result for your yaxis. You need to change the formatter to

Re: [Matplotlib-users] Trouble with legend and axis scaling

2013-03-27 Thread Jae-Joon Lee
The first issue is a bug, and I opened a PR that fixes this. https://github.com/matplotlib/matplotlib/pull/1864 In the comments of the PR, you can find a workaround. Regards, -JJ On Wed, Mar 27, 2013 at 11:09 PM, Hackstein news.hackst...@gmx.net wrote: Sterling, I'm using matplotlib

[Matplotlib-users] Trouble with legend and axis scaling

2013-03-26 Thread Hackstein
Hello everyone, I have two issues with my current projects: 1) I automatically generate plots of several data sets in a for-loop, all of which have the same shape of x and y values, but some of which have two of those data (i.e. graphs) sets per figure, others have only one. I create the