Re: [matplotlib-devel] Updating MPlot3D to a more recent matplotlib.
Hi, It took me a while to get this done, but I managed to make mplot3d working with svn trunk again! It's available for viewing at http://qtwork.nano.tudelft.nl/cgi-bin/gitweb.cgi?p=users/rwh/mplot3d;a=summary. An http link to clone it is on that same page. JDH: If there are no further issues with moving this to svn, how do you want to proceed? It can surely use some more bugfixes later on and it would be great if I could commit those directly, although sending patches would be ok too. One thing I ran into: it is not possible to unset the alpha value for a Collection. Because of this it is not possible to set alpha values for individual items once a Collection-wide value is set. I think the solution would be to accept None as a value in set_alpha(); I solved it now by setting coll._alpha = None in mplot3d. (The reason this was not a problem earlier is this bug-fix: http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/lib/matplotlib/colors.py?r1=6982&r2=6986) Regards, Reinier On Thu, Apr 2, 2009 at 1:55 PM, John Hunter wrote: > Hey Reiner -- please make sure you "reply-to-all" so others can > participate in the thread. I'm am CC-ing the reply to the list. > > On Wed, Apr 1, 2009 at 5:19 PM, Reinier Heeres wrote: > >> That is one issue, but if I try to solve that I get some >> strange-looking result. It seems that the patches I am drawing are not >> scaled properly; they are way too large. Do you know of any obvious >> change that might have resulted in this (I guess it might be in the >> "transform" parts)? And is there perhaps a nice web-interface to >> compare different versions of various files? > > What version of mpl are you using? The major transform work was done > between 0.91 and 0.98, which is why we removed the 3D stuff at that > time. I assume you are already on some version of 0.98, so hopefully > the transforms changes from your branch to svn HEAD will be minimal. > The code diffs can be found at > http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/ > > I also removed the TextWithDash and saw the scaling problems you point to. > > JDH -- Reinier Heeres Bleijenburg 64 2511 VD Den Haag The Netherlands Tel: +31 6 10852639 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] re lease strategy, and the role of v0_98_5_maint
>> ImportError: DLL load failed: The specified procedure could not be found. This is most likely due to the localtime problem when building extensions with mingw. I encountered this too when trying to get the scikits.timeseries module ready for a release. I implemented a work around mentioned on the python users list a while ago, you can take a look here: http://svn.scipy.org/svn/scikits/trunk/timeseries/scikits/timeseries/src/c_dates.c lines 2585 - 2609 Basically, if you use localtime, time or time_t anywhere in your extension and compile your extension with mingw for python 2.6, it will fail to import. This is due to some conflict with mingw and visual studio 2008, the details of which I am not really familiar with, I just know the work around works. - Matt -- View this message in context: http://www.nabble.com/release-strategy%2C-and-the-role-of-v0_98_5_maint-tp22900147p22996892.html Sent from the matplotlib - devel mailing list archive at Nabble.com. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] Problem with matplotlib.mlab.csv2rec
Hi, first of all, thank you for your great software. It is really nice to produce graphics in python. I have problems loading csv files using matplotlib.mlab.csv2rec when there are comments preceding the header. I filed a bug detailing them (id 2745173) and as it is mentioned on your site that it is better to drop a mail when filing a bug, here it is. Best regards, Alex -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] Problem with matplotlib.mlab.csv2rec
On Wed, Apr 8, 2009 at 3:06 PM, Alexandre Patry wrote: > Hi, > > first of all, thank you for your great software. It is really nice to > produce graphics in python. > > I have problems loading csv files using matplotlib.mlab.csv2rec when > there are comments preceding the header. I filed a bug detailing them > (id 2745173) and as it is mentioned on your site that it is better to > drop a mail when filing a bug, here it is. Thanks for the detailed report and example code and csv file. I think I have fixed this, on the 98.5 branch and merged into svn HEAD. Your example file is now working. Please give it a test drive when you have a minute. Thanks for the report, JDH -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] release strategy, and the role of v0_98_5_maint
I updated the binaries at the same link as before: http://drop.io/tvuqe3o NOTE: I used John's OSX build scripts which ran great, but I am getting a segfault when trying to plot. I need to call it a night and might not have time to look into the issue this week. Please run with my files and feel free to post for a release if the source and windows files work. - Charlie On Fri, Apr 10, 2009 at 10:36 PM, Charlie Moad wrote: > http://drop.io/tvuqe3o > > Please test these windows builds. I committed a change to set > tcltk8.5 flags for python 2.6 and I also uploaded a modified > win32_static.zip file. Could someone please replace the previous one > with the newer version? It includes the tcltk8.5 headers needed for > the build. If these builds test out well I'll proceed with the whole > slew of files for the release later this weekend. > > - Charlie > > On Fri, Apr 10, 2009 at 10:20 PM, Charlie Moad wrote: >> Yeah, that worked. Removed the link from >> distutils/cygwinccompiler.py. I didn't get the error from python 2.4 >> or 2.5, but that's probably because I have had them installed for a >> while and these dll's have been installed from other modules. I'll >> try to get some binaries posted soon. >> >> - Charlie >> >> On Fri, Apr 10, 2009 at 10:15 PM, Charlie Moad wrote: >>> I found that thread not too long ago and dug up the tool John mentioned. >>> >>> http://www.dependencywalker.com/ >>> >>> Looks like our friend "msvcrXX" (msvcr90 for py2.6) is back. I am >>> removing the link from distutils right now and giving it a try. >>> >>> - Charlie >>> >>> On Fri, Apr 10, 2009 at 10:08 PM, Andrew Straw wrote: Charlie Moad wrote: > I am running into an error when importing matplotlib though. I'll > poke around but would appreciate extra eyes. > > ImportError: DLL load failed: The specified procedure could not be found. Hi Charlie, we've been batting this one around on MPL-users for a little while... still no resolution though. See the thread started by Lorenzo Di Gregorio "matplotlib._path failed on windows build for Python 2.6". -Andrew >>> >> > -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel