[matplotlib-devel] matplotlib 1.0.1rc available for testing, building
We are long overdue on getting a bugfix release of 1.0.0 out, so I have uploaded an rc for testing at https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/ Christoph and Russell -- if you have time could you build win32 and OSX binaries for testing as well. I don't believe either of you have developer permissions to upload directly to this site, but I would be happy to add you if you send me an sf id. Alternatively, you can upload them to a site of your choosing and I'll upload them for you (drop.io was acquired by facebook and no longer works). There are a number of bugs and patches on the tracker that it would have been nice to tackle before this release, but there have been enough improvements in the branch that delaying at this point would be a case of the perfect being the enemy of the good so I think we should move forward now. Nonetheless, if there are important bugs or patches that anyone can tackle before we cut the final release, that would be great. In sf, we used to be able to tag a file as the preferred file for a given OS, but in the new file manager interface I no longer see a way to do this, so that for example the rc files don't show up as the default download options. Does anyone know how to do this, or perhaps someone can suggest a drop.io replacement that supports multiple user uploaders (eg the different binary builders) and public, no-registration downloads. I googled a bit and didn't find anything that fit the bill. JDH -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] matplotlib 1.0.1rc available for testing, building
Hi John, On Sun, Jan 2, 2011 at 18:52, John Hunter wrote: > We are long overdue on getting a bugfix release of 1.0.0 out, so I have > uploaded an rc for testing at > > https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/ Maybe I just missed them, but I can't find in the tarball the data files needed to run the examples without internet connection. I thought it was decided to ship them directly in the tarball and so use the examples.directory rc option to point to them at build-time and avoid to download, but if they're not in the tarball :) Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] matplotlib 1.0.1rc available for testing, building
On Sun, Jan 2, 2011 at 4:25 PM, Sandro Tosi wrote: > > > > https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/ > > > Maybe I just missed them, but I can't find in the tarball the data > files needed to run the examples without internet connection. I > thought it was decided to ship them directly in the tarball and so use > the examples.directory rc option to point to them at build-time and > avoid to download, but if they're not in the tarball :) > > I just added a sample data release file to the same dir -- mpl_sampledata-1.0.1rc.tar.gz - different tarball, but should contain everything you need. Will this meet Debian's requirements? We could add it to the main tarball, but part of the original impetus in moving the data out of the main tree was to make the main tarball smaller. I can go either way if it is a major hassle for you guys to do it differently. JDH -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] matplotlib 1.0.1rc available for testing, building
On Sun, Jan 2, 2011 at 23:50, John Hunter wrote: > I just added a sample data release file to the same dir -- > mpl_sampledata-1.0.1rc.tar.gz - different tarball, but should contain > everything you need. Will this meet Debian's requirements? We could add it > to the main tarball, but part of the original impetus in moving the data out > of the main tree was to make the main tarball smaller. I can go either way > if it is a major hassle for you guys to do it differently. Thanks for the fast reply! There is a quite-new feature that allows use to use several tarballs to create a single source package (in this case the source & sample_data tarballs to generate the matplotlib debian source package): I can try that, and I'll let you know if I fail or not. Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] matplotlib 1.0.1rc available for testing, building
On Sun, 2 Jan 2011 23:25:12 +0100, Sandro Tosi wrote: > Maybe I just missed them, but I can't find in the tarball the data > files needed to run the examples without internet connection. I > thought it was decided to ship them directly in the tarball and so use > the examples.directory rc option to point to them at build-time and > avoid to download, but if they're not in the tarball :) > You might consider looking at my Ubuntu PPA[1] if you are going to work on packaging. I seem to have everything working at this point, so perhaps that can save you some work. Cheers, - Ben [1] https://launchpad.net/~bgamari/+archive/matplotlib-unofficial -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] matplotlib 1.0.1rc available for testing, building
On Mon, Jan 3, 2011 at 00:21, Ben Gamari wrote: > On Sun, 2 Jan 2011 23:25:12 +0100, Sandro Tosi wrote: >> Maybe I just missed them, but I can't find in the tarball the data >> files needed to run the examples without internet connection. I >> thought it was decided to ship them directly in the tarball and so use >> the examples.directory rc option to point to them at build-time and >> avoid to download, but if they're not in the tarball :) >> > You might consider looking at my Ubuntu PPA[1] if you are going to work on > packaging. I seem to have everything working at this point, so perhaps > that can save you some work. I already looked at it, but it still needs some work. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] patch: bug with twinx and scientific style
I sent this to the -users list a little over a week ago - now resending to -devel list against the latest svn. best, -- Paul Ivanov 314 address only used for lists, off-list direct email at: http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 Paul Ivanov, on 2010-12-23 09:47, wrote: > Václav Šmilauer, on 2010-12-23 14:51, wrote: > > Hi there, > > > > when I use twinx() to have y1 and y2 axes and set ticklabel_format > > style to 'sci' on the y2 axis, ticks on the y2 are properly numbered, > > but the "1e-5" that is supposed to be atop y2 appears on the top of > > y1 instead. When both y1 and y2 use the exponents, they overwrite > > each other -- a minimal example (result attached in pdf): > > > > import pylab > > > > pylab.plot([0,1e-2,2e-2,3e-2],[1e3,5e3,6.1e3,1e3],'g-') > > > > pylab.ticklabel_format(style='sci',scilimits=(0,0),axis='both') # this is > > not necessary to show the bug > > > > pylab.twinx() > > > > pylab.plot([1e-2,2e-2,3e-2,4e-2],[2e-5,3e-5,0,-1e-5],'r-') > > > > pylab.ticklabel_format(style='sci',scilimits=(0,0),axis='both') # makes > > 1e-5 appear on the left instead of on the right > > > > pylab.show() > > > Hi Václav, > > thanks for the bug report. As a temporary workaround - use > > plt.gca().yaxis.set_offset_position('right') > > Committers: the patch attached fixes this problem. I thought that > there might be a similar problem for twiny() - but ax.xaxis does > not appear to have .set_offset_position() method. > > > I've had this issue with versions .99, 1.0.0, running on Linux > > (Ubuntu, versions 9.04 through to 10.10). > > me too, and I kept forgetting to report it. > > > PS. what's wrong with the sf.net bugzilla? I was not able to post the > > issue there -- > > this I do not know. > Index: CHANGELOG === --- CHANGELOG (revision 8871) +++ CHANGELOG (working copy) @@ -1,3 +1,5 @@ +2011-01-02 Fixed twinx scientific notation offset being misplaced. + 2010-12-29 Implment axes_divider.HBox and VBox. -JJL 2010-11-22 Fixed error with Hammer projection. - BVR Index: lib/matplotlib/axes.py === --- lib/matplotlib/axes.py (revision 8871) +++ lib/matplotlib/axes.py (working copy) @@ -7391,6 +7391,7 @@ frameon=False) ax2.yaxis.tick_right() ax2.yaxis.set_label_position('right') +ax2.yaxis.set_offset_position('right') self.yaxis.tick_left() ax2.xaxis.set_visible(False) return ax2 signature.asc Description: Digital signature -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] A quesstion with matplotlib
Hi Ben: I just do not know how to change the font size,could you tell me that? Thank you ! At 2011-01-01 07:08:23,"Benjamin Root" wrote: 2010/12/31 余亮罡 Dear all, I have a quesstion about change the width of the ylabel.You know the width of the ylabel is relaete to the x axi,how can i change the width of the ylabel not depend on the width of the x-axis? Thank you! George Maybe I am not understanding. The height of the y-axis label text (which is then rotated 90 degrees) is dependent upon the font size, and should already be completely independent of the x-axis. Can you show some examples of what you mean? Ben Root -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] A quesstion with matplotlib
余亮罡, on 2011-01-03 13:31, wrote: > I just do not know how to change the font size,could you tell > me that? Thank you ! Here's a small example. You can either keep around the ylabel from when you first create it: import matplotlib.pyplot as plt lbl = plt.ylabel("foo") lbl.set_size(25) If you already have the labels on an axes: ax = plt.gca() lbl = ax.yaxis.get_label() lbl.set_size('x-small') Note that ax.get_ylabel() only gets you the string of the label, which is why you have to use ax.yaxis.get_label() to get an instance of the matplotlib.text.Text object in order to change its size. hope that helps, -- Paul Ivanov 314 address only used for lists, off-list direct email at: http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 signature.asc Description: Digital signature -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel