Re: [matplotlib-devel] compiling matplotlib using VC6?
"Edin Salkovic" <[EMAIL PROTECTED]> writes: > Hi Berthold, > > Try running some of the examples: > http://matplotlib.sourceforge.net/matplotlib_examples_0.90.0.zip > > This is mpl's test suite. Testting should possibly done with the "-tt" or at least the "-t" command line switch to identify inconsistent use of tabs and spaces in indentations. My library tests run with the "-tt" switch and fail in some matplotlib modules. Kind regards Berthold Höllmann -- Germanischer Lloyd AG CAE Development Vorsetzen 35 20459 Hamburg Phone: +49(0)40 36149-7374 Fax: +49(0)40 36149-7320 e-mail: [EMAIL PROTECTED] Internet: http://www.gl-group.com This e-mail and any attachment thereto may contain confidential information and/or information protected by intellectual property rights for the exclusive attention of the intended addressees named above. Any access of third parties to this e-mail is unauthorised. Any use of this e-mail by unintended recipients such as total or partial copying, distribution, disclosure etc. is prohibited and may be unlawful. When addressed to our clients the content of this e-mail is subject to the General Terms and Conditions of GL's Group of Companies applicable at the date of this e-mail. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer. GL's Group of Companies does not warrant and/or guarantee that this message at the moment of receipt is authentic, correct and its communication free of errors, interruption etc. Germanischer Lloyd AG, 31393 AG HH, Hamburg, Vorstand: Dr. Hermann J. Klein, Rainer Schöndube, Vorsitzender des Aufsichtsrats: Dr. Wolfgang Peiner - 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.php&p=sourceforge&CID=DEVDEV ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] clean recompile
I made some commits to svn last night to support clipping to arbitrary paths last night -- they work is still in development, but some of the compile *agg backends may be out of whack since the compile dependencies aren't always respected. If you see something funny with svn, try a clean recompile. JDH - 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.php&p=sourceforge&CID=DEVDEV ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] Help adding -L dir to build step...
I'm trying to build matplotlib and basemap on a solaris box using the latest SVN. My python, qt, tk, etc are all installed in a build directory ($TOOLS). Under linux, the build goes fine and everything works great. However, under solaris, both matplotlib and basemap have link errors that say they can't find the python shared library which is at $TOOLS/lib. Under linux, this shows up in the link line as -L$TOOLS/lib but is missing on solaris. I'm trying to figure out how I can add -L$TOOLS/lib to the link line. For matplotlib, I was able to just hand copy the error message to the command line, add -L$TOOLS/lib, and rerun 'python setup.py build' to get it to work. This doesn't work for basemap though as it seems to generate some intermediate files that are needed. I edited setup.py to do this: import sys basedir[sys.platform] = [ os.environ['TOOLS' ] ] which seems to have worked on linux but doesn't seem to work on solaris. I google'ed to try and figure out how to add a link option using distutils and found something that said to do this: python setup.py build build_ext -n -L$TOOLS/lib but that doesn't build all the necessary components so my installation ends up not working. Does anyone know an easy way to add this link dir to the distutils build? Thanks, Ted Ted Drain Jet Propulsion Laboratory [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.php&p=sourceforge&CID=DEVDEV ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] Help adding -L dir to build step...
Ted Drain <[EMAIL PROTECTED]> writes: > I'm trying to build matplotlib and basemap on a solaris box using the > latest SVN. My python, qt, tk, etc are all installed in a build > directory ($TOOLS). Under linux, the build goes fine and everything > works great. However, under solaris, both matplotlib and basemap > have link errors that say they can't find the python shared library > which is at $TOOLS/lib. Under linux, this shows up in the link line > as -L$TOOLS/lib but is missing on solaris. > > I'm trying to figure out how I can add -L$TOOLS/lib to the link > line. For matplotlib, I was able to just hand copy the error message > to the command line, add -L$TOOLS/lib, and rerun 'python setup.py > build' to get it to work. This doesn't work for basemap though as it > seems to generate some intermediate files that are needed. how about # LD_LIBRARY_PATH=$TOOLS/lib:LD_LIBRARY_PATH LD_RUN_PATH=$TOOLS/lib:LD_LIBRARY_PATH python setup.py build Regards Berthold -- - 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.php&p=sourceforge&CID=DEVDEV ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] units support in svn
John Hunter wrote: > If you are using mpl svn, please read this as it describes > some fairly major changes. > > Mike Lusignan has been working on adding units support, and as a > consequence, partial support for working with arbitrary types in mpl. > The support is not complete yet, but it is basically working and > compatible with the rest of mpl, so I thought now would be a good time > to integrate it into the svn HEAD (he's been working in a branch) > and get some more eyeballs on it. John, You accidentally whacked out the new Axes.matshow, so I put it back. I also noticed a few decorators--gasp!--in axes.py. I presume you will want them replaced by old-style syntax to preserve 2.3 compatibility, but I will leave that to you. (After about the 10th or so time of reading a bit about decorators, I think I understand them enough for simple use cases; apart from that ugly and utterly unpythonic @ symbol, maybe they are not as bad as I thought.) The curmudgeon in me has to wonder whether the snazzy unit support is really a good thing; this is partly a question of where the boundary of a plotting library should be. The simpler view (classic mpl) is that the role of mpl is to do a good job plotting numbers and labeling things, and the role of the user or application programmer is to supply the numbers and labels. I am not sure that enough is gained by enabling unit conversion and automatic axis labeling inside a plot command to compensate for the added complexity. My hesitation probably reflects the facts (1) that I don't see any *compelling* use cases in the sort of work I do, (2) I am not familiar with whatever use cases motivated this, (3) I haven't thought about it much yet, and (4) I may be a bit unimaginative. I will try to take a closer look, both at the changes and at the questions you raise in your message, tomorrow. Eric - 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.php&p=sourceforge&CID=DEVDEV ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel