Re: [Matplotlib-users] ANN: matplotlib-0.90.0
At 9:42 AM -0800 2007-02-21, Chris Barker wrote: Russell E Owen wrote: I did earlier today; I'm hoping it will go up in the next day or so. WXAgg is built against wxPython 2.6.x because last I heard the 2.8.x issues weren't resolved. Correct. I'm still not sure how well MPL works with wxPython2.8 on other platforms, but no one has fixed the issues on OS-X yet. There is something weird with toolbars with wxPython2.8, I've run into that with some other code, so it may even take a new release of wxPython to get it all right... Thank you for the update. FYI: matplotlib 0.90.0 for Python 2.5 is now available at http://pythonmac.org/packages. I did not build a version for Python 2.4. Regards, -- Russell - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.90.0
Chris Barker wrote: Russell E Owen wrote: I did earlier today; I'm hoping it will go up in the next day or so. WXAgg is built against wxPython 2.6.x because last I heard the 2.8.x issues weren't resolved. Correct. I'm still not sure how well MPL works with wxPython2.8 on other platforms, but no one has fixed the issues on OS-X yet. There is something weird with toolbars with wxPython2.8, I've run into that with some other code, so it may even take a new release of wxPython to get it all right. Of course, that wont' do it if I dont' get around to fiing a bug report! wxPython includes a wxversion module that lets one select whihc version of wxPython you want run, if more than one is installed. It might be nice if those calls could get put into MPL somewhere, so that when MPL is built against a given version, that version will be run. If someone can do a Windows build against a wxPython 2.8 version (and Python 2.5) I could do some testing. Is there a list of what the problems are? Werner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.90.0
Werner F. Bruhin wrote: If someone can do a Windows build against a wxPython 2.8 version (and Python 2.5) I could do some testing. Is there a list of what the problems are? no. One is that it won't build, due to a code error in the extension -- I don't know why that same error didn't cause a problem with earlier versions of wxPython. The other I know about is some oddities with the toolbar on OS-X -- I think those are OS-X only issues. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.90.0
On Feb 21, 2007, at 1:58 PM, Christopher Barker wrote: Werner F. Bruhin wrote: Is there a list of what the problems are? One is that it won't build, due to a code error in the extension -- I don't know why that same error didn't cause a problem with earlier versions of wxPython. The WXAgg backend itself should still function without _wxagg.so, which exists slowly to speed up the Agg/wx.Image/wx.Bitmap tango. I tried to get it up and running on OSX with wxPython 2.8 earlier today but was quickly stymied by an inscrutable problem with wxPyConstructObject(). Since I'd like to start moving away from using a C++ extension in the backend, I'm going to try to re- implement its functionality using the new wx.BitmapFromBufferRGBA(). The other I know about is some oddities with the toolbar on OS-X -- I think those are OS-X only issues. Once I have the WXAgg accelerator straightened out, I'll see if I can reproduce and fix this problem. Ken - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.90.0
FYI: matplotlib 0.90.0 for Python 2.5 is now available at http://pythonmac.org/packages. I did not build a version for Python 2.4. Thanks, downloading as I type. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.90.0
Shouldn't the version of wxPython also get included in the name along with the python version and os version? That information is in the ReadMe file in the installer. I will try to remember to look there in the future to know which wx is supported, thanks. The matplotlib on sourceforge http://downloads.sourceforge.net/matplotlib/matplotlib-0.90.0-py2.5- macosx-10.4-fat.egg?modtime=1171118530big_mirror=0 is an egg but doesn't install with easy_install. Complains there is no setup.py file. I copied the .egg directory into site-packages but it is not automatically included in sys.path when I run the python interpreter. I have to manually do this: from pkg_resources import require require(matplotlib) [matplotlib 0.90.0 (/Library/Frameworks/Python.framework/Versions/2.5/ lib/python2.5/site-packages/matplotlib-0.90.0-py2.5-macosx-10.4- fat.egg)] for it to be accessible. I guess I have to add it manually to my PYTHONPATH or else generate a .pth file and put it in site-packages to get it automatically added to sys.path? In the past the distributions were a little more user friendly for installing. I know I can't complain too much since you are doing all the work. Just wondering if I missed something when I tried to install it. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.90.0
At 2:33 PM -0700 2007-02-20, Samuel M. Smith wrote: Shouldn't the version of wxPython also get included in the name along with the python version and os version? That information is in the ReadMe file in the installer. I will try to remember to look there in the future to know which wx is supported, thanks. The matplotlib on sourceforge http://downloads.sourceforge.net/matplotlib/matplotlib-0.90.0-py2.5-macosx-10.4-fat.egg?modtime=1171118530big_mirror=0 is an egg but doesn't install with easy_install. Complains there is no setup.py file. I copied the .egg directory into site-packages but it is not automatically included in sys.path when I run the python interpreter. I have to manually do this: from pkg_resources import require require(matplotlib) [matplotlib 0.90.0 (/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.90.0-py2.5-macosx-10.4-fat.egg)] for it to be accessible. I guess I have to add it manually to my PYTHONPATH or else generate a .pth file and put it in site-packages to get it automatically added to sys.path? In the past the distributions were a little more user friendly for installing. I know I can't complain too much since you are doing all the work. Just wondering if I missed something when I tried to install it. Oops, I just realized how misleading my earlier message was. I do NOT build the official matplotlib Mac packages. I have been building the packages at pythonmac.org. I started that because an earlier Python 2.4 matplotlib package crashed when using a user-installed Tcl/Tk* and just never got out of the habit. So I don't have anything to do with the official matplotlib Mac binaries and I have no idea what's in their ReadMe files. I *hope* they include the necessary info about what version of wxPython is required and all that, but I don't know. I can't help you with easy_install either. Sorry. -- Russell * The crash stems from a limitation of the Mac build of Python 2.4 that was fixed in 2.5. By default MacPython 2.4 does not find a 3rd party Tcl/Tk. There's a simple patch to fix this but it appears that binary packages that use Tkinter may not work with 3rd party Tcl/Tk unless the patch was applied by the person doing the build. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.90.0
On Feb 20, 2007, at 14:47 , Russell E Owen wrote: In the past the distributions were a little more user friendly for installing. I know I can't complain too much since you are doing all the work. Just wondering if I missed something when I tried to install it. Oops, I just realized how misleading my earlier message was. I do NOT build the official matplotlib Mac packages. I have been building the packages at pythonmac.org. I started that because an earlier Python 2.4 matplotlib package crashed when using a user-installed Tcl/Tk* and just never got out of the habit. So I don't have anything to do with the official matplotlib Mac binaries and I have no idea what's in their ReadMe files. I *hope* they include the necessary info about what version of wxPython is required and all that, but I don't know. I can't help you with easy_install either. Sorry. Well that explains why there is no readme in the distribution on source forge. Any chance you will build a distribution of matplotlib 0.90 for pythonmac soon? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.90.0
At 4:48 PM -0700 2007-02-20, Samuel M. Smith wrote: On Feb 20, 2007, at 14:47 , Russell E Owen wrote: In the past the distributions were a little more user friendly for installing. I know I can't complain too much since you are doing all the work. Just wondering if I missed something when I tried to install it. Oops, I just realized how misleading my earlier message was. I do NOT build the official matplotlib Mac packages. I have been building the packages at pythonmac.org. I started that because an earlier Python 2.4 matplotlib package crashed when using a user-installed Tcl/Tk* and just never got out of the habit. So I don't have anything to do with the official matplotlib Mac binaries and I have no idea what's in their ReadMe files. I *hope* they include the necessary info about what version of wxPython is required and all that, but I don't know. I can't help you with easy_install either. Sorry. Well that explains why there is no readme in the distribution on source forge. Any chance you will build a distribution of matplotlib 0.90 for pythonmac soon? I did earlier today; I'm hoping it will go up in the next day or so. WXAgg is built against wxPython 2.6.x because last I heard the 2.8.x issues weren't resolved. -- Russell - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.90.0
which versions of wxPython are supported? I haven't tried the new one, but the last release worked well with wxPython2.6.3, but had some issues with 2.8.* -- I don't think anyone has addressed those yet. Just to confirm, the binary posted at the following http://downloads.sourceforge.net/matplotlib/matplotlib-0.90.0-py2.5- macosx-10.4-fat.egg?modtime=1171118530big_mirror=0 was compiled to work with wxPython 2.6 but may work with wxPython 2.8? Shouldn't the version of wxPython also get included in the name along with the python version and os version? Sam - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.90.0
Hi Charlie, Great to see a new release, will put some time aside to test it with wxPython early next week. I can't see a reference to the wxPython backend, will it still require the Unicode build or can one use the Ansi build and which versions of wxPython are supported? Werner - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.90.0
On 2/7/07, Werner F. Bruhin [EMAIL PROTECTED] wrote: Charlie, Charlie Moad wrote: On 2/7/07, Werner F. Bruhin [EMAIL PROTECTED] wrote: Hi Charlie, Great to see a new release, will put some time aside to test it with wxPython early next week. I can't see a reference to the wxPython backend, will it still require the Unicode build or can one use the Ansi build and which versions of wxPython are supported? Well, we haven't built any binaries yet. We pushed a source release fast to try to get it into Feisty. Sorry Chris! With wx2.8 out now and this being a major release, we definitely need to rethink wx builds. We stuck with unicode for 0.87 to avoid confusion. I would be happy to hear what wx users think/want. For me the ideal would be not to be depended on a particular release of wxPython - big surprise no :-) . If I understand it correctly the dependency came in for performance optimization, does 2.8 change something for this. - If yes, I would not see a problem with 0.9 requiring as a minimum 2.8.0.1 but going forward I could use any 2.8.x or newer release. - If no, then I guess we have to live with having a fixed dependency, e.g. 0.87 is wxPython 2.6.x, 0.90 is wxPython 2.8.x, but it should through at least a warning if one tries to use it with another wxPython release. A while back there was some talk on the dev list about a pure python blitting method. I believe 2.8 had features that made this possible. I don't think anyone actually implemented this though. I'll have to check if the current native wx code even compiles with 2.8. The pure-python wx interface is still there and works but doesn't allow for efficient blitting. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.90.0
Werner F. Bruhin wrote: Great to see a new release, will put some time aside to test it with wxPython early next week. looking forward to your reports. which versions of wxPython are supported? I haven't tried the new one, but the last release worked well with wxPython2.6.3, but had some issues with 2.8.* -- I don't think anyone has addressed those yet. Well, we haven't built any binaries yet. We pushed a source release fast to try to get it into Feisty. Sorry Chris! well, I've been chattering on about this for awhile, but haven't contributed anything yet... With wx2.8 out now and this being a major release, we definitely need to rethink wx builds. We stuck with unicode for 0.87 to avoid confusion. I would be happy to hear what wx users think/want. I think it's time to just all unicode, all the way, but I mostly deal with English anyway. For me the ideal would be not to be depended on a particular release of wxPython - big surprise no :-) That would be nice. If I understand it correctly the dependency came in for performance optimization, does 2.8 change something for this. Perhaps. 2.8 has methods for directly setting the data in wxBitmaps. Before that, you needed to create a wxImage, then convert that to a bitmap. However, to do that right, you'd need to be able to get the Agg bitmap as a Python buffer object that is in the binary form required by the platform. I think the majors need RGB and/or RGBA, but I'm not totally sure about that (maybe OS-X is ARGB?) - If yes, I would not see a problem with 0.9 requiring as a minimum 2.8.0.1 but going forward I could use any 2.8.x or newer release. That would be a good way to go, or have fallback on the older methods for less than 2.8 -- so instead of saying you need 2.8 to use the wx backend we can say: you'll get better performance with wx if you use 2.8 - If no, then I guess we have to live with having a fixed dependency, e.g. 0.87 is wxPython 2.6.x, 0.90 is wxPython 2.8.x, but it should through at least a warning if one tries to use it with another wxPython release. Yes, it should. I've also started a patch for the build system that tries harder to make sure that you are building against the same wx that you are running -- that will at least help people built it themselves more easily. NOTE: I took a look at the wx backend code a while ago, and it looks like even without the new Bitmap handlers in 2.8, it could be faster with straight Python code. Key is that a wxImage can be created from a Python buffer object without copying the data. So if we can expose the Agg buffer as a Python buffer, as RGB, then we should be able to get decent performance with pure python. You'd still need to do the wxBitmapFromImage thing, but the accelerated back-end does that too. Look for a thread on this list a while back, with my and Ken's name on it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] ANN: matplotlib-0.90.0
http://www.python.org/pypi/matplotlib/0.90.0 http://sourceforge.net/project/showfiles.php?group_id=80706package_id=82474release_id=484485 Binaries will be posted in a few days. === 2007-02-06 Released 0.90.0 at revision 3003 2007-01-22 Extended the new picker API to text, patches and patch collections. Added support for user customizable pick hit testing and attribute tagging of the PickEvent - Details and examples in examples/pick_event_demo.py - JDH 2007-01-16 Begun work on a new pick API using the mpl event handling frameowrk. Artists will define their own pick method with a configurable epsilon tolerance and return pick attrs. All artists that meet the tolerance threshold will fire a PickEvent with artist dependent attrs; eg, a Line2D can set the indices attribute that shows the indices into the line that are within epsilon of the pick point. See examples/pick_event_demo.py. The implementation of pick for the remaining Artists remains to be done, but the core infrastructure at the level of event handling is in place with a proof-of-concept implementation for Line2D - JDH 2007-01-16 src/_image.cpp: update to use Py_ssize_t (for 64-bit systems). Use return value of fread() to prevent warning messages - SC. 2007-01-15 src/_image.cpp: combine buffer_argb32() and buffer_bgra32() into a new method color_conv(format) - SC 2007-01-14 backend_cairo.py: update draw_arc() so that examples/arctest.py looks correct - SC 2007-01-12 backend_cairo.py: enable clipping. Update draw_image() so that examples/contour_demo.py looks correct - SC 2007-01-12 backend_cairo.py: fix draw_image() so that examples/image_demo.py now looks correct - SC 2007-01-11 Added Axes.xcorr and Axes.acorr to plot the cross correlation of x vs y or the autocorrelation of x. pylab wrappers also provided. See examples/xcorr_demo.py - JDH 2007-01-10 Added Subplot.label_outer method. It will set the visibility of the ticklabels so that yticklabels are only visible in the first column and xticklabels are only visible in the last row - JDH 2007-01-02 Added additional kwarg documentation - JDH 2006-12-28 Improved error message for nonpositive input to log transform; added log kwarg to bar, barh, and hist, and modified bar method to behave sensibly by default when the ordinate has a log scale. (This only works if the log scale is set before or by the call to bar, hence the utility of the log kwarg.) - EF 2006-12-27 backend_cairo.py: update draw_image() and _draw_mathtext() to work with numpy - SC 2006-12-20 Fixed xpdf dependency check, which was failing on windows. Removed ps2eps dependency check. - DSD 2006-12-19 Added Tim Leslie's spectral patch - JDH 2006-12-17 Added rc param 'axes.formatter.limits' to control the default threshold for switching to scientific notation. Added convenience method Axes.ticklabel_format() for turning scientific notation on or off on either or both axes. - EF 2006-12-16 Added ability to turn control scientific notation in ScalarFormatter - EF 2006-12-16 Enhanced boxplot to handle more flexible inputs - EF 2006-12-13 Replaced calls to where() in colors.py with much faster clip() and putmask() calls; removed inappropriate uses of getmaskorNone (which should be needed only very rarely); all in response to profiling by David Cournapeau. Also fixed bugs in my 2-D array support from 12-09. - EF 2006-12-09 Replaced spy and spy2 with the new spy that combines marker and image capabilities - EF 2006-12-09 Added support for plotting 2-D arrays with plot: columns are plotted as in Matlab - EF 2006-12-09 Added linewidth kwarg to bar and barh; fixed arg checking bugs - EF 2006-12-07 Made pcolormesh argument handling match pcolor; fixed kwarg handling problem noted by Pierre GM - EF 2006-12-06 Made pcolor support vector X and/or Y instead of requiring 2-D arrays - EF 2006-12-05 Made the default Artist._transform None (rather than invoking identity_transform for each artist only to have it overridden later). Use artist.get_transform() rather than artist._transform, even in derived classes, so that the default transform will be created lazily as needed - JDH 2006-12-03 Added LogNorm to colors.py as illustrated by examples/pcolor_log.py, based on suggestion by Jim McDonald. Colorbar modified to handle LogNorm. Norms have additional inverse method. - EF 2006-12-02 Changed class