Re: [matplotlib-devel] matplotlib 1.0.1rc available for testing, building

2011-01-05 Thread Michiel de Hoon
Done. Thanks, --Michiel. --- On Tue, 1/4/11, John Hunter wrote: Michiel, can you review this and if it looks good contribute it to the 1.0.1 branch? http://matplotlib.sourceforge.net/devel/coding_guide.html#version-control Thanks, JDH --

Re: [matplotlib-devel] matplotlib 1.0.1rc available for testing, building

2011-01-05 Thread John Hunter
OK, I'm not aware of any outstanding issues that should hold this release. If there are any, please let me know, else I'll upload the final later today. On Wed, Jan 5, 2011 at 7:33 AM, Michiel de Hoon wrote: > Done. > > Thanks, > --Michiel. > > ---

Re: [matplotlib-devel] matplotlib 1.0.1rc available for testing, building

2011-01-05 Thread Sandro Tosi
Hi John. On Wed, Jan 5, 2011 at 14:36, John Hunter wrote: > OK, I'm not aware of any outstanding issues that should hold this release. > If there are any, please let me know, else I'll upload the final later > today. Could you please give your opinion on the documentation & example.download issu

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread John Hunter
On Tue, Jan 4, 2011 at 4:40 PM, Sandro Tosi wrote: > Hi all, > > On Thu, Dec 9, 2010 at 23:04, Ben Gamari wrote: > > On Thu, 09 Dec 2010 16:44:37 -0500, Ben Gamari > wrote: > >> rcdefaults()'s implementation appears to implement the latter, updating > >> rcParams from rcParamsDefault in rcsetup

Re: [matplotlib-devel] two gridspec patches (fix getitem bug and docs)

2011-01-05 Thread Benjamin Root
On Wed, Jan 5, 2011 at 12:11 AM, Paul Ivanov wrote: > Benjamin Root, on 2011-01-04 19:48, wrote: > > 2011/1/4 Paul Ivanov > > > > > Hi matplotlib developers, > > > > > > I was answering a question on the -users list and came across a > > > gridspec __getitem__ bug which causes an infinite loop

Re: [matplotlib-devel] matplotlib 1.0.1rc available for testing, building

2011-01-05 Thread John Hunter
On Wed, Jan 5, 2011 at 7:40 AM, Sandro Tosi wrote: > > > Could you please give your opinion on the documentation & > example.download issue on the other thread? > > Thanks for the reminder. I commented in the other thread. JDH

Re: [matplotlib-devel] two gridspec patches (fix getitem bug and docs)

2011-01-05 Thread Jae-Joon Lee
Thanks for the patches. I just committed the getitem patch to the trunk with slight modifications. As I think this is not a serious bug, I didn't push it to the maintenance branch. I'll review the doc patch and commit it later this week. On the other hand, I don't think it is a good idea to have t

Re: [matplotlib-devel] two gridspec patches (fix getitem bug and docs)

2011-01-05 Thread John Hunter
On Wed, Jan 5, 2011 at 9:45 AM, Benjamin Root wrote: > > Ah, I see... that makes much more sense then. > > Thanks for clearing that up. > Ben do you want to handle this submission? Since it is a bug, it can go into the branch. Paul, would you like to have commit access? If so, please send me

Re: [matplotlib-devel] matplotlib 1.0.1rc available for testing, building

2011-01-05 Thread Christoph Gohlke
Not sure if this should hold the release but 1.0.1rc fails to run two examples (contourf_log.py and pcolor_log.py) as described in bug #3143748 "Math domain error in ticker.py is_decade()" Christoph On 1/5/201

Re: [matplotlib-devel] two gridspec patches (fix getitem bug and docs)

2011-01-05 Thread Benjamin Root
On Wed, Jan 5, 2011 at 9:51 AM, John Hunter wrote: > > > On Wed, Jan 5, 2011 at 9:45 AM, Benjamin Root wrote: > >> >> Ah, I see... that makes much more sense then. >> >> Thanks for clearing that up. >> > > > Ben do you want to handle this submission? Since it is a bug, it can go > into the bran

Re: [matplotlib-devel] matplotlib 1.0.1rc available for testing, building

2011-01-05 Thread Benjamin Root
On Wed, Jan 5, 2011 at 10:08 AM, Christoph Gohlke wrote: > Not sure if this should hold the release but 1.0.1rc fails to run two > examples (contourf_log.py and pcolor_log.py) as described in bug > #3143748 "Math domain error in ticker.py is_decade()" > < > http://sourceforge.net/tracker/?func=de

[matplotlib-devel] all 3d examples broken on branch

2011-01-05 Thread John Hunter
This appears to have escaped my tests :-( All of the 3d examples are failing on the 1.0.1 branch -- can anyone replicate this? jo...@udesktop253:mplot3d> python subplot3d_demo.py Traceback (most recent call last): File "subplot3d_demo.py", line 14, in ? ax = fig.add_subplot(1, 2, 1, project

Re: [matplotlib-devel] all 3d examples broken on branch

2011-01-05 Thread John Hunter
On Wed, Jan 5, 2011 at 10:38 AM, John Hunter wrote: > > I tried the naive fix in lines.py > > def set_axes(self, ax): > Artist.set_axes(self, ax) > if getattr(ax, 'xaxis', None): > self._xcid = ax.xaxis.callbacks.connect('units', > self.recache_always) > if

Re: [matplotlib-devel] all 3d examples broken on branch

2011-01-05 Thread Benjamin Root
On Wed, Jan 5, 2011 at 10:41 AM, John Hunter wrote: > > > On Wed, Jan 5, 2011 at 10:38 AM, John Hunter wrote: > >> >> I tried the naive fix in lines.py >> >> def set_axes(self, ax): >> Artist.set_axes(self, ax) >> if getattr(ax, 'xaxis', None): >> self._xcid = ax.

Re: [matplotlib-devel] all 3d examples broken on branch

2011-01-05 Thread Benjamin Root
On Wed, Jan 5, 2011 at 10:44 AM, Benjamin Root wrote: > On Wed, Jan 5, 2011 at 10:41 AM, John Hunter wrote: > >> >> >> On Wed, Jan 5, 2011 at 10:38 AM, John Hunter wrote: >> >>> >>> I tried the naive fix in lines.py >>> >>> def set_axes(self, ax): >>> Artist.set_axes(self, ax) >>>

Re: [matplotlib-devel] matplotlib 1.0.1rc available for testing, building

2011-01-05 Thread Benjamin Root
On Wed, Jan 5, 2011 at 10:33 AM, Benjamin Root wrote: > On Wed, Jan 5, 2011 at 10:08 AM, Christoph Gohlke wrote: > >> Not sure if this should hold the release but 1.0.1rc fails to run two >> examples (contourf_log.py and pcolor_log.py) as described in bug >> #3143748 "Math domain error in ticker

Re: [matplotlib-devel] all 3d examples broken on branch

2011-01-05 Thread John Hunter
On Wed, Jan 5, 2011 at 11:17 AM, John Hunter wrote: > > > Very strange -- this is what I am doing for a clean build and install. > Can't see where I am going wrong... > I'm also having the same problem on two platofrms (python2.4 solaris, > python2.6 linux) > > > jdhun...@uqbar:mpl1> rm -rf build

Re: [matplotlib-devel] all 3d examples broken on branch

2011-01-05 Thread Benjamin Root
On Wed, Jan 5, 2011 at 11:21 AM, John Hunter wrote: > > > On Wed, Jan 5, 2011 at 11:17 AM, John Hunter wrote: > >> >> >> Very strange -- this is what I am doing for a clean build and install. >> Can't see where I am going wrong... >> I'm also having the same problem on two platofrms (python2.4 s

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread Sandro Tosi
Hi John, On Wed, Jan 5, 2011 at 15:04, John Hunter wrote: > I agree the current behavior needs to be improved.  I'm testing a change now > which utilizes two functions, now properly documented, and removing the hack > in the plot_directive since the file defaults will be preserved.  This keeps >

Re: [matplotlib-devel] matplotlib 1.0.1rc available for testing, building

2011-01-05 Thread Benjamin Root
On Wed, Jan 5, 2011 at 11:11 AM, Benjamin Root wrote: > On Wed, Jan 5, 2011 at 10:33 AM, Benjamin Root wrote: > >> On Wed, Jan 5, 2011 at 10:08 AM, Christoph Gohlke wrote: >> >>> Not sure if this should hold the release but 1.0.1rc fails to run two >>> examples (contourf_log.py and pcolor_log.py

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread John Hunter
On Wed, Jan 5, 2011 at 11:41 AM, Sandro Tosi wrote: > > +def rc_file_defaults(): > > +""" > > +Restore the default rc params from the original matplotlib rc that > > +was loaded > > +""" > > +rcParams.update(rcParamsOrig) > > + > > _use_error_msg = """ This call to matplotli

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread Sandro Tosi
On Wed, Jan 5, 2011 at 18:45, John Hunter wrote: > On Wed, Jan 5, 2011 at 11:41 AM, Sandro Tosi wrote: >> >> > +def rc_file_defaults(): >> > +    """ >> > +    Restore the default rc params from the original matplotlib rc that >> > +    was loaded >> > +    """ >> > +    rcParams.update(rcParamsO

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread John Hunter
On Wed, Jan 5, 2011 at 11:48 AM, Sandro Tosi wrote: > So you'll want to patch doc/matplotlibrc to set this param. > > ehm that's what I meant with "configuring doc/matplotlibrc" - I did that :) > > $ tail -n2 doc/matplotlibrc > examples.download : False # False to bypass downloading mechanism >

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread Sandro Tosi
On Wed, Jan 5, 2011 at 18:57, John Hunter wrote: > On Wed, Jan 5, 2011 at 11:48 AM, Sandro Tosi wrote: >> >> So you'll want to patch doc/matplotlibrc to set this param. >> >> ehm that's what I meant with "configuring doc/matplotlibrc" - I did that >> :) >> >> $ tail -n2 doc/matplotlibrc >> exampl

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread John Hunter
On Wed, Jan 5, 2011 at 12:05 PM, Sandro Tosi wrote: > > yes, it's the version I'm going to use for the RC, that's because > version 1.0.1~rc1-1 is lower than 1.0.1-1 (debian versions) and so > uploading an RC package will not prevent for the final release to be > uploaded (1.0.1rc1-1 is bigger th

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread John Hunter
On Wed, Jan 5, 2011 at 12:10 PM, John Hunter wrote: > > The code in matplotlib.cbook.get_sample_data reads: > > if not matplotlib.rcParams['examples.download']: > directory = matplotlib.rcParams['examples.directory'] > f = os.path.join(directory, fname) > if asfileobj:

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread Sandro Tosi
On Wed, Jan 5, 2011 at 19:45, John Hunter wrote: > On Wed, Jan 5, 2011 at 12:10 PM, John Hunter wrote: >> >> The code in matplotlib.cbook.get_sample_data reads: >> >>     if not matplotlib.rcParams['examples.download']: >>     directory = matplotlib.rcParams['examples.directory'] >>     f

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread Sandro Tosi
On Wed, Jan 5, 2011 at 19:48, Sandro Tosi wrote: > ehm... no, I'm testing it the rc + your patch, sorry :) I'm updating > my local svn copy and try again Ok, I'm trying with trunk now (or those changes are on another branch?), and it stops at reading sources... [ 20%] examples/axes_grid/demo_axe

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread John Hunter
On Wed, Jan 5, 2011 at 1:23 PM, Sandro Tosi wrote: > > On Wed, Jan 5, 2011 at 19:48, Sandro Tosi wrote: > > ehm... no, I'm testing it the rc + your patch, sorry :) I'm updating > > my local svn copy and try again > > Ok, I'm trying with trunk now (or those changes are on another > branch?), and i

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread John Hunter
On Wed, Jan 5, 2011 at 1:31 PM, John Hunter wrote: > We're working in the release branch.  Changes have not been made to trunk. > > svn co > https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint > mpl1 > rc2 tarball is here: http://sourceforge.net/projects/matplotlib/fi

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread Sandro Tosi
On Wed, Jan 5, 2011 at 20:31, John Hunter wrote: > On Wed, Jan 5, 2011 at 1:23 PM, Sandro Tosi wrote: >> >> On Wed, Jan 5, 2011 at 19:48, Sandro Tosi wrote: >> > ehm... no, I'm testing it the rc + your patch, sorry :) I'm updating >> > my local svn copy and try again >> >> Ok, I'm trying with tr

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread John Hunter
On Wed, Jan 5, 2011 at 3:49 PM, Sandro Tosi wrote: > I tried with that branch, but I had no luck :( it still tries to > download stuff from the net, whatever I set as examples.directory in > matplotlibrc (yes, I'm trying to compile inside doc/ and I have > 'examples.download : False' set) and/or

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread Sandro Tosi
On Wed, Jan 5, 2011 at 23:00, John Hunter wrote: > On Wed, Jan 5, 2011 at 3:49 PM, Sandro Tosi wrote: > >> I tried with that branch, but I had no luck :( it still tries to >> download stuff from the net, whatever I set as examples.directory in >> matplotlibrc (yes, I'm trying to compile inside do

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread John Hunter
On Wed, Jan 5, 2011 at 4:04 PM, Sandro Tosi wrote: > it's not exactly monitory, but I disable all the requests to > matplotlib.svn.sourceforge.net via iptables: > > sudo iptables -A OUTPUT -d matplotlib.svn.sourceforge.net -j DROP > > and you're sure nothing passes towards that address :) and in

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread Sandro Tosi
On Wed, Jan 5, 2011 at 23:07, John Hunter wrote: > On Wed, Jan 5, 2011 at 4:04 PM, Sandro Tosi wrote: > >> it's not exactly monitory, but I disable all the requests to >> matplotlib.svn.sourceforge.net via iptables: >> >> sudo iptables -A OUTPUT -d matplotlib.svn.sourceforge.net -j DROP >> >> and

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread John Hunter
On Wed, Jan 5, 2011 at 3:49 PM, Sandro Tosi wrote: > On Wed, Jan 5, 2011 at 20:31, John Hunter wrote: >> On Wed, Jan 5, 2011 at 1:23 PM, Sandro Tosi wrote: >>> >>> On Wed, Jan 5, 2011 at 19:48, Sandro Tosi wrote: >>> > ehm... no, I'm testing it the rc + your patch, sorry :) I'm updating >>> > m

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread Sandro Tosi
On Wed, Jan 5, 2011 at 23:22, John Hunter wrote: > OK, I found the problem.  Somehow my edit to sphinxext.plot_directive > to actually call the new function was not saved and committed.  I just > fixed this, so the branch *should* work.  The branch > matlpotlib/sphinxext/plot_directive.py should c

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread Ben Gamari
On Wed, 5 Jan 2011 16:00:40 -0600, John Hunter wrote: > Strange -- I'll try and test tonight with a machine disconnected from > the internet. Out of curiosity, what command/tool are you using to > monitor the internet requests? Ben, are you seeing the same problems? > It took me a long time to f

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread John Hunter
On Wed, Jan 5, 2011 at 5:53 PM, Sandro Tosi wrote: > On Wed, Jan 5, 2011 at 23:22, John Hunter wrote: >> OK, I found the problem.  Somehow my edit to sphinxext.plot_directive >> to actually call the new function was not saved and committed.  I just >> fixed this, so the branch *should* work.  The

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-05 Thread Sandro Tosi
On Thu, Jan 6, 2011 at 02:31, John Hunter wrote: >  mpl1> grep rc_file lib/matplotlib/sphinxext/plot_directive.py > > Surely I have it right now! Indeed, and it works fine!!! the only thing to notice is that examples.directory must be an absolute path, but that set, the doc build process gets fil