Re: [matplotlib-devel] Example images broken in docs

2008-07-07 Thread Michael Droettboom
Fernando Perez wrote: > On Mon, Jul 7, 2008 at 10:28 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > >> Thank you for finding this! That is indeed the case. >> >> I think we need to rework the plot generation code to avoid side effects >> by forcibly resetting state between plots. Maybe we

Re: [matplotlib-devel] Example images broken in docs

2008-07-07 Thread Fernando Perez
On Mon, Jul 7, 2008 at 10:28 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Thank you for finding this! That is indeed the case. > > I think we need to rework the plot generation code to avoid side effects > by forcibly resetting state between plots. Maybe we should just fork > another Pytho

Re: [matplotlib-devel] hist doesn't work with 2D arrays

2008-07-07 Thread Andrew Hawryluk
Ah - that makes sense. I guess I didn't catch that change in the release notes. Thanks again! -Original Message- From: Manuel Metz [mailto:[EMAIL PROTECTED] Sent: 7 Jul 2008 11:49 AM To: matplotlib-devel@lists.sourceforge.net Cc: Andrew Hawryluk Subject: Re: [matplotlib-devel] hist doesn'

Re: [matplotlib-devel] hist doesn't work with 2D arrays

2008-07-07 Thread Manuel Metz
Andrew Hawryluk wrote: > Hopefully this isn't old news for you. Since the 0.98 release, the histogram > plot doesn't work properly with 2D arrays: it is quite slow and the output is > wrong. Passing a flattened array produces the quick, correct output that we > are accustomed to. Here is the tes

Re: [matplotlib-devel] Example images broken in docs

2008-07-07 Thread Michael Droettboom
Thank you for finding this! That is indeed the case. I think we need to rework the plot generation code to avoid side effects by forcibly resetting state between plots. Maybe we should just fork another Python process for each plot. Darren, since (I believe) you wrote the initial documentati

Re: [matplotlib-devel] Example images broken in docs

2008-07-07 Thread Michael Droettboom
Removing all contents of the doc/matplotlibrc and doc/pyplots/matplotlibrc files (reverting to the defaults), or removing the files completely, does not fix the tick outside the axes issue... Removing my ~/.matplotlib/matplotlibrc does not resolve the issue. However, other rcparam values do c

Re: [matplotlib-devel] Example images broken in docs

2008-07-07 Thread Tony Yu
On Jul 7, 2008, at 12:19 PM, Michael Droettboom wrote: > I noticed today that the examples in the docs have the ticks on the > outside of the axes. You can see it here: > > http://matplotlib.sourceforge.net/doc/html/users/pyplot_tutorial.html > > I'm having a terrible time tracking down the cau

Re: [matplotlib-devel] Example images broken in docs

2008-07-07 Thread Fernando Perez
On Mon, Jul 7, 2008 at 10:14 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Yes, but curiously, it doesn't change between those revisions... But it's different from *your* user rc file. That might point to the setting that causes the problem... f -

[matplotlib-devel] hist doesn't work with 2D arrays

2008-07-07 Thread Andrew Hawryluk
Hopefully this isn't old news for you. Since the 0.98 release, the histogram plot doesn't work properly with 2D arrays: it is quite slow and the output is wrong. Passing a flattened array produces the quick, correct output that we are accustomed to. Here is the test code I ran, and the attached

Re: [matplotlib-devel] Example images broken in docs

2008-07-07 Thread Michael Droettboom
Yes, but curiously, it doesn't change between those revisions... Mike Fernando Perez wrote: > On Mon, Jul 7, 2008 at 9:19 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > > >> One other tidbit of information -- the example plots work fine when >> called directly. This only seems to affect

Re: [matplotlib-devel] Example images broken in docs

2008-07-07 Thread Fernando Perez
On Mon, Jul 7, 2008 at 9:19 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > One other tidbit of information -- the example plots work fine when > called directly. This only seems to affect plots generated for the docs. Are the docs built with a custom .matplotlibrc? Maybe there's a differen

[matplotlib-devel] Example images broken in docs

2008-07-07 Thread Michael Droettboom
I noticed today that the examples in the docs have the ticks on the outside of the axes. You can see it here: http://matplotlib.sourceforge.net/doc/html/users/pyplot_tutorial.html I'm having a terrible time tracking down the cause -- maybe I'm just not thinking clearly today. By version bis

Re: [matplotlib-devel] "shared axes" bug in matplotlib 0.98

2008-07-07 Thread David Trem
Thanks Michael and Eric for your constructive replies and your help. It is know clear for me why my code was luckily working with 0.91 but not with 0.98. This is certainly going to help me finding a robust solution for both cases. Regards, David Michael Droettboom a écrit : > David, > > There

Re: [matplotlib-devel] "shared axes" bug in matplotlib 0.98

2008-07-07 Thread Michael Droettboom
David, There is no code in matplotlib to autoscale shared axes, and as far as I know, there never has been. Unfortunately, it's more or less a requirement that you have to set the limits manually when using shared axes. (All of the shared axes examples do this). I think, 0.91 is broken als