Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid
Dear Sandro, First of all, I apologize for the delay in replying -- yesterday was already late night here and I also had to fight (???) a kernel panic in my Linux box the cause of which is not yet clear (I also had it under Ubuntu Hardy and now it appeared in Intrepid -- under Hardy, I substituted my only RAM chip and the problem disappeared, but now I think the problem may be related to overheating -- it is the hottest tropical summer here down under!). Well, after following the steps you provided for creating the Debian package for MPL, and installing all required dependencies, I still could not create the package -- the reason is that the program keeps complaining about an older version of python-sphinx, even if I upgraded to the latest version it using easy_install... Maybe I will have to build sphinx from souce too? With best regards, 2009/1/12 Sandro Tosi mo...@debian.org: On Mon, Jan 12, 2009 at 19:52, Mauro Cavalcanti mauro...@gmail.com wrote: I must say I feel truly honoured. I never expected my humble complaint would merit the attention of one of the Debian maintainters! eheh, well, we are not some sort of gods or what: we talk to mortals now :D I will follow the directions you provided - as I understood, they will result in the creation of a deb package for the latest version of Matplotlib? This will be great! Yes: Ubuntu is a Debian-based distribution, so once you'll have the deb files (built on your ubuntu box) it enough to sudo dpkg -i python-matplotlib*.deb and it will install them I will report the results to you (and the Matplotlib-users lists) as soon as possible. Great. The only problem I see is that there are a lot of caveats in building packages, and you can face some corner case (I couldn't cope in my uber-fast introduction to deb building :) ). Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- Dr. Mauro J. Cavalcanti Ecoinformatics Studio P.O. Box 46521, CEP 20551-970 Rio de Janeiro, RJ, BRASIL E-mail: mauro...@gmail.com Web: http://studio.infobio.net Linux Registered User #473524 * Ubuntu User #22717 Life is complex. It consists of real and imaginary parts. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] multiline LaTeX code
I'm trying to add some more complex LaTeX-rendered equations into a a figure, and having some problems. I've been trying various things with 'usetex', but it seems the problem might be that I can't seem to write the LaTex code on a single line. For example, can you not do: ax.text(0,0,r ... ... ) ? One example that I'm trying is the following, using 'cases'. I'll paste a complete .tex file: \documentclass{article} \pagestyle{empty} \usepackage{amsmath} \begin{document} \begin{equation*} x(t) = \begin{cases} 1, \quad t \ge 0 \\ 0,t 0 \end{cases} \end{equation*} \end{document} Any suggestions? I think this works with '\displaystyle' inside single '$', but you need multiple lines... ? thanks, Ken -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] multiline LaTeX code
On Tue, Jan 13, 2009 at 6:53 AM, Ken Schutte kts.li...@gmail.com wrote: I'm trying to add some more complex LaTeX-rendered equations into a a figure, and having some problems. I've been trying various things with 'usetex', but it seems the problem might be that I can't seem to write the LaTex code on a single line. For example, can you not do: ax.text(0,0,r ... ... ) ? One example that I'm trying is the following, using 'cases'. I'll paste a complete .tex file: \documentclass{article} \pagestyle{empty} \usepackage{amsmath} \begin{document} \begin{equation*} x(t) = \begin{cases} 1, \quad t \ge 0 \\ 0,t 0 \end{cases} \end{equation*} \end{document} Any suggestions? I think this works with '\displaystyle' inside single '$', but you need multiple lines... ? Hi Ken, I'm sorry, multi-line input is currently not supported. I've got a lot of other projects on my plate and dont intend to implement such a feature myself, but I'd have a look at a patch if one were submitted that wasn't too invasive. The usetex stuff was pretty hairy to get working across platforms, so I'm reluctant to mess with it. Darren -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] multiline LaTeX code
Ken Schutte kts.li...@gmail.com writes: I'm trying to add some more complex LaTeX-rendered equations into a a figure, and having some problems. I've been trying various things with 'usetex', but it seems the problem might be that I can't seem to write the LaTex code on a single line. It seems that text objects containing newlines are not passed to LaTeX correctly. I suspect this might be an interaction with a (non-usetex) feature where the lines of a multiline string are aligned separately, e.g.: text(0,0,'''very long line here foobar baz''', ha='center') You should be able to work around this particular problem by not using any newlines, but this example has another problem: \begin{equation*} x(t) = \begin{cases} 1, \quad t \ge 0 \\ 0,t 0 \end{cases} \end{equation*} You need to use the amsmath package. The (totally unsupported) way to do this is use the text.latex.preamble setting: text.latex.preamble : \usepackage{amsmath} # IMPROPER USE OF THIS FEATURE WILL LEAD TO LATEX FAILURES # AND IS THEREFORE UNSUPPORTED. PLEASE DO NOT ASK FOR HELP # IF THIS FEATURE DOES NOT DO WHAT YOU EXPECT IT TO. After adding that setting, this works for me: In [1]: t = r''' ...: \begin{equation*} ...: x(t) = ...: \begin{cases} ...: 1, \quad t \ge 0 \\ ...: 0,t 0 ...: \end{cases} ...: \end{equation*} ...: ''' In [2]: text(0,0,t.replace('\n',' ')) Out[2]: matplotlib.text.Text object at 0xab82a50 -- Jouni K. Seppänen http://www.iki.fi/jks -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Error importing Python Imaging Library (PIL)
Hi all, I'm a matplotlib newbie and have recently installed matplotlib as part of the Python(x,y) distribution for Windows. I want to do some image manipulation (e.g. basemap.warpimage()) and my initial installation didn't have the Python Imaging Library (PIL) installed, so I installed this via easy_install: easy_install PIL This worked, but it was installed in such a way that the import command from PIL import Image doesn't work (it seems that import Image works instead). This means that basemap.warpimage() does not work because it expects to be able to import PIL through the former expression. I can try to install PIL some other way, but does this indicate that the basemap module should try both ways of importing PIL, as different users might have different setups? Is there a quick fix that I could apply? (Apologies if this question has been asked before - I did some Googling and didn't find anything.) Regards, Jon -- Dr Jon Blower Technical Director, Reading e-Science Centre Environmental Systems Science Centre University of Reading Harry Pitt Building, 3 Earley Gate Reading RG6 6AL. UK Tel: +44 (0)118 378 5213 Fax: +44 (0)118 378 6413 j.d.blo...@reading.ac.uk http://www.nerc-essc.ac.uk/People/Staff/Blower_J.htm -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Error importing Python Imaging Library (PIL)
Dear Dr. Blower, I would by all means suggest the Enthought Python Distribution (http://www.enthought.com/) in place of Python(x,y). EPD already includes PIL, MPL and Basemap (although in a somewhat abridged and outdated version, but this is just a matter of upgrading). Hope this helps. Best regards, 2009/1/13 Jon Blower j.d.blo...@reading.ac.uk: Hi all, I'm a matplotlib newbie and have recently installed matplotlib as part of the Python(x,y) distribution for Windows. I want to do some image manipulation (e.g. basemap.warpimage()) and my initial installation didn't have the Python Imaging Library (PIL) installed, so I installed this via easy_install: easy_install PIL This worked, but it was installed in such a way that the import command from PIL import Image doesn't work (it seems that import Image works instead). This means that basemap.warpimage() does not work because it expects to be able to import PIL through the former expression. I can try to install PIL some other way, but does this indicate that the basemap module should try both ways of importing PIL, as different users might have different setups? Is there a quick fix that I could apply? (Apologies if this question has been asked before - I did some Googling and didn't find anything.) Regards, Jon -- Dr Jon Blower Technical Director, Reading e-Science Centre Environmental Systems Science Centre University of Reading Harry Pitt Building, 3 Earley Gate Reading RG6 6AL. UK Tel: +44 (0)118 378 5213 Fax: +44 (0)118 378 6413 j.d.blo...@reading.ac.uk http://www.nerc-essc.ac.uk/People/Staff/Blower_J.htm -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Dr. Mauro J. Cavalcanti Ecoinformatics Studio P.O. Box 46521, CEP 20551-970 Rio de Janeiro, RJ, BRASIL E-mail: mauro...@gmail.com Web: http://studio.infobio.net Linux Registered User #473524 * Ubuntu User #22717 Life is complex. It consists of real and imaginary parts. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Error importing Python Imaging Library (PIL)
Jon Blower wrote: Hi all, I'm a matplotlib newbie and have recently installed matplotlib as part of the Python(x,y) distribution for Windows. I want to do some image manipulation (e.g. basemap.warpimage()) and my initial installation didn't have the Python Imaging Library (PIL) installed, so I installed this via easy_install: easy_install PIL This worked, but it was installed in such a way that the import command from PIL import Image doesn't work (it seems that import Image works instead). This means that basemap.warpimage() does not work because it expects to be able to import PIL through the former expression. I can try to install PIL some other way, but does this indicate that the basemap module should try both ways of importing PIL, as different users might have different setups? Is there a quick fix that I could apply? (Apologies if this question has been asked before - I did some Googling and didn't find anything.) Regards, Jon Jon: It seems like PIL is not setuptools-aware... http://mail.python.org/pipermail/image-sig/2007-May/004451.html PIL does not get installed correctly using setuptools. You'll need to install the old-fashioned way, i.e. python setup.py install. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX: (303)497-6449 NOAA/OAR/PSD R/PSD1Email : jeffrey.s.whita...@noaa.gov 325 BroadwayOffice : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web: http://tinyurl.com/5telg -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] building from source
Hello everyone, I need some help for building matplotlib from source. I'm using Debian sid on 64bit. I had errors when trying to build version 0.98.5.1 and now it's not gone with 0.98.5.2, so I hope mailing is appropriate. I've appended the whole log. Thanks in advance. Best wishes, Fabio Tonti BUILDING MATPLOTLIB matplotlib: 0.98.5.2 python: 2.5.2 (r252:60911, Jan 4 2009, 21:59:32) [GCC 4.3.2] platform: linux2 REQUIRED DEPENDENCIES numpy: 1.1.1 freetype2: found, but unknown version (no pkg-config) * WARNING: Could not find 'freetype2' headers in any * of '/usr/local/include', '/usr/include', '.', * '/usr/local/include/freetype2', * '/usr/include/freetype2', './freetype2'. OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) Tkinter: no * Using default library and include directories for * Tcl and Tk because a Tk window failed to open. * You may need to define DISPLAY for Tk to work so * that setup can determine where your libraries are * located. Tkinter present, but header files are not * found. You may need to install development * packages. wxPython: no * WXAgg's accelerator requires `wx-config'. The * `wx-config' executable could not be located in any * directory of the PATH environment variable. If you * want to build WXAgg, and wx-config is in some * other location or has some other name, set the * WX_CONFIG environment variable to the full path of * the executable like so: export WX_CONFIG=/usr/lib * /wxPython-2.6.1.0-gtk2-unicode/bin/wx-config * You may need to install 'dev' package(s) to * provide header files. Gtk+: no * Could not find Gtk+ headers in any of * '/usr/local/include', '/usr/include', '.' Mac OS X native: no Qt: no Qt4: no Cairo: 1.4.12 OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: 1.4.1 pytz: 2008h OPTIONAL USETEX DEPENDENCIES dvipng: no ghostscript: 8.63 latex: 3.141592 pdftops: 3.00 [Edit setup.cfg to suppress the above messages] pymods ['pylab'] packages ['matplotlib', 'matplotlib.backends', 'matplotlib.projections', 'mpl_toolkits', 'matplotlib.numerix', 'matplotlib.numerix.mlab', 'matplotlib.numerix.ma', 'matplotlib.numerix.npyma', 'matplotlib.numerix.linear_algebra', 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft', 'matplotlib.delaunay'] running build running build_py copying lib/matplotlib/mpl-data/matplotlibrc - build/lib.linux-x86_64-2.5/matplotlib/mpl-data copying lib/matplotlib/mpl-data/matplotlib.conf - build/lib.linux-x86_64-2.5/matplotlib/mpl-data running build_ext building 'matplotlib.ft2font' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include/freetype2 -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 -I/usr/include/python2.5 -c src/ft2font.cpp -o build/temp.linux-x86_64-2.5/src/ft2font.o cc1plus: warning: command line option -Wstrict-prototypes is valid for Ada/C/ObjC but not for C++ In file included from ./CXX/Extensions.hxx:48, from src/ft2font.h:4, from src/ft2font.cpp:1: ./CXX/WrapPython.h:42:20: error: Python.h: No such file or directory In file included from ./CXX/Extensions.hxx:50, from src/ft2font.h:4, from src/ft2font.cpp:1: ./CXX/Config.hxx:112:2: error: #error not defined PY_MAJOR_VERSION In file included from src/ft2font.cpp:1: src/ft2font.h:13:22: error: ft2build.h: No such file or directory src/ft2font.h:14:10: error: #include expects FILENAME or FILENAME src/ft2font.h:15:10: error: #include expects FILENAME or FILENAME src/ft2font.h:16:10: error: #include expects FILENAME or FILENAME src/ft2font.h:17:10: error: #include expects FILENAME or FILENAME src/ft2font.h:18:10: error: #include expects FILENAME or FILENAME In file included from
Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid
On Tue, Jan 13, 2009 at 13:20, Mauro Cavalcanti mauro...@gmail.com wrote: Dear Sandro, First of all, I apologize for the delay in replying -- yesterday was already late night here and I also had to fight (???) a kernel panic in my Linux box the cause of which is not yet clear (I also had it under Ubuntu Hardy and now it appeared in Intrepid -- under Hardy, I substituted my only RAM chip and the problem disappeared, but now I think the problem may be related to overheating -- it is the hottest tropical summer here down under!). Well, after following the steps you provided for creating the Debian package for MPL, and installing all required dependencies, I still could not create the package -- the reason is that the program keeps complaining about an older version of python-sphinx, even if I upgraded to the latest version it using easy_install... Maybe I will have to build sphinx from souce too? Well, honestly I don't know and I don't want to invest too much time on this: I'll provide the compiled packages (even if still temporary, waiting for Matplotlib developers to release 0.98.5.3) tomorrow, and then I'll post the location on the list. They will be for Debian Sid, so they might not work out of the box and you might need to get other packages from Debian and install into Ubuntu. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid
Dear Sandro, After sending you the previous message, I just decided to try one little thing: I used easy_install -U matplotlib and then the latest version (0.98.5.2) was correctly retrieved from the SF repository and properly installed (before followed the instructions you provided yesterday, this procedure did not result). And then I now have MPL completely working again on my Ubuntu Intrepid box! Thank you very much for your attention. With best regards, 2009/1/13 Sandro Tosi mo...@debian.org: Well, honestly I don't know and I don't want to invest too much time on this: I'll provide the compiled packages (even if still temporary, waiting for Matplotlib developers to release 0.98.5.3) tomorrow, and then I'll post the location on the list. They will be for Debian Sid, so they might not work out of the box and you might need to get other packages from Debian and install into Ubuntu. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- Dr. Mauro J. Cavalcanti Ecoinformatics Studio P.O. Box 46521, CEP 20551-970 Rio de Janeiro, RJ, BRASIL E-mail: mauro...@gmail.com Web: http://studio.infobio.net Linux Registered User #473524 * Ubuntu User #22717 Life is complex. It consists of real and imaginary parts. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Latest release of Basemap
Dear Jeff, Sorry for posting this again, but I suppose my previous message may have got lost among many others. I would like to ask you if there are plans to release, as a regular MS-Windows self-installation file, the lastest version of Basemap (0.99.3). It happens that my biogeographic application is due to public release tomorrow (I will annnounce it here too) and it makes use of some critical functionality that is available only in the lastest Basemap version (0.99.3). The online documentation for Basemap already indicates that the current version is 0.99.3, but the .latest exe files in the SF repository are still from version 0.99.2. Best regards, -- Dr. Mauro J. Cavalcanti Ecoinformatics Studio P.O. Box 46521, CEP 20551-970 Rio de Janeiro, RJ, BRASIL E-mail: mauro...@gmail.com Web: http://studio.infobio.net Linux Registered User #473524 * Ubuntu User #22717 Life is complex. It consists of real and imaginary parts. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Latest release of Basemap
Mauro Cavalcanti wrote: Dear Jeff, Sorry for posting this again, but I suppose my previous message may have got lost among many others. I would like to ask you if there are plans to release, as a regular MS-Windows self-installation file, the lastest version of Basemap (0.99.3). It happens that my biogeographic application is due to public release tomorrow (I will annnounce it here too) and it makes use of some critical functionality that is available only in the lastest Basemap version (0.99.3). The online documentation for Basemap already indicates that the current version is 0.99.3, but the .latest exe files in the SF repository are still from version 0.99.2. Best regards, Mauro: I'll try to get a new release tomorrow (releasing the source is easy, finding the time to make a windows installer is more difficult, since I have to borrow someone else's windows box). -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX: (303)497-6449 NOAA/OAR/PSD R/PSD1Email : jeffrey.s.whita...@noaa.gov 325 BroadwayOffice : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web: http://tinyurl.com/5telg -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] matlab vs pylab png output
Hello, I have a problem saving png files created from data with missing values. The matlab and pylab outputs are very different... pylab resolution is poorer !? the saving commands from matlab and python are similar: matlab: print -dpng -r80 test_matlab.png python: pylab.savefig('test_pylab.png',dpi=80) look at the examples: http://neptuno.fis.ua.pt/tmp/comp.html Can I get the pylab output with the quality of test_matlab.png? Thank you mma -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Newbie question/closing a figure-window
I'm just getting into matplotlib and python. My apologies if I just haven't found the obvious documentation. I am running XP/Enthought Python 2.5/Idle/matplotlib 0.98.5.2 I run one of the scripts from the tutorial: import numpy as np import matplotlib.pyplot as plt mu, sigma = 100, 15 x = mu + sigma * np.random.randn(1) # the histogram of the data n, bins, patches = plt.hist(x, 50, normed=1, facecolor='g', alpha=0.75) plt.xlabel('Smarts') plt.ylabel('Probability') plt.title('Histogram of IQ') plt.text(60, .025, r'$\mu=100,\ \sigma=15$') plt.axis([40, 160, 0, 0.03]) plt.grid(True) plt.show() A window with the figure appears on my screen. It looks very nice. But now my PYTHON-Shell screen is dead. I can go to the figure window. I right click on the upper-border to close the window. I get the following error message on the PYTHON-Shell. Exception in Tkinter callback Traceback (most recent call last): File C:\Python25\lib\lib-tk\Tkinter.py, line 1403, in __call__ return self.func(*args) File C:\Python25\lib\idlelib\MultiCall.py, line 151, in handler r = l[i](event) File C:\Python25\lib\idlelib\ScriptBinding.py, line 166, in run_module_event interp.runcode(code) File C:\Python25\lib\idlelib\PyShell.py, line 701, in runcode self.interp.restart_subprocess() AttributeError: ModifiedInterpreter instance has no attribute 'interp' And the shell-window is still dead. I can't do anything else until I close all my Python windows. Is there a better way to close the figure-window? Should I expect IDLE to work with matplotlib? Should I try and figure out Ipython instead? Should I look for a Tkinter installation? My current version is Revision: 50704? Any help or suggestions are appreciated. Wayne Hajas Pacific Biological Station 3190 Hammond Bay Road Nanaimo, BC Canada V9T 6N7 wayne.ha...@dfo-mpo.gc.ca mailto:haj...@dfo-mpo.gc.ca (250)756-7367 -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] matlab vs pylab png output
Perhaps the interpolation needs to be set to 'nearest'? On Tue, Jan 13, 2009 at 3:33 PM, John Hunter jdh2...@gmail.com wrote: On Tue, Jan 13, 2009 at 12:16 PM, Martinho MA m...@ua.pt wrote: Hello, I have a problem saving png files created from data with missing values. The matlab and pylab outputs are very different... pylab resolution is poorer !? the saving commands from matlab and python are similar: matlab: print -dpng -r80 test_matlab.png python: pylab.savefig('test_pylab.png',dpi=80) look at the examples: http://neptuno.fis.ua.pt/tmp/comp.html Can I get the pylab output with the quality of test_matlab.png? Without seeing any code or knowing anything about your matplotlib version -- it is hard to help. http://matplotlib.sourceforge.net/faq/troubleshooting_faq.html#report-a-problem JDH -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] R: Newbie question/closing a figure-window
I have the vague remembrance of the fact that IDLE does not play well with matplotlib. Can you try to run the program from the command line and see if it gives the same error? m. -- Massimo Sandal , Ph.D. University of Bologna Department of Biochemistry G.Moruzzi snail mail: Via Irnerio 48, 40126 Bologna, Italy email: massimo.san...@unibo.it web: http://www.biocfarm.unibo.it/samori/people/sandal.html tel: +39-051-2094388 fax: +39-051-2094387 -Messaggio originale- Da: Hajas, Wayne [mailto:wayne.ha...@dfo-mpo.gc.ca] Inviato: mar 13/01/2009 21.05 A: matplotlib-users@lists.sourceforge.net Oggetto: [Matplotlib-users] Newbie question/closing a figure-window I'm just getting into matplotlib and python. My apologies if I just haven't found the obvious documentation. I am running XP/Enthought Python 2.5/Idle/matplotlib 0.98.5.2 I run one of the scripts from the tutorial: import numpy as np import matplotlib.pyplot as plt mu, sigma = 100, 15 x = mu + sigma * np.random.randn(1) # the histogram of the data n, bins, patches = plt.hist(x, 50, normed=1, facecolor='g', alpha=0.75) plt.xlabel('Smarts') plt.ylabel('Probability') plt.title('Histogram of IQ') plt.text(60, .025, r'$\mu=100,\ \sigma=15$') plt.axis([40, 160, 0, 0.03]) plt.grid(True) plt.show() A window with the figure appears on my screen. It looks very nice. But now my PYTHON-Shell screen is dead. I can go to the figure window. I right click on the upper-border to close the window. I get the following error message on the PYTHON-Shell. Exception in Tkinter callback Traceback (most recent call last): File C:\Python25\lib\lib-tk\Tkinter.py, line 1403, in __call__ return self.func(*args) File C:\Python25\lib\idlelib\MultiCall.py, line 151, in handler r = l[i](event) File C:\Python25\lib\idlelib\ScriptBinding.py, line 166, in run_module_event interp.runcode(code) File C:\Python25\lib\idlelib\PyShell.py, line 701, in runcode self.interp.restart_subprocess() AttributeError: ModifiedInterpreter instance has no attribute 'interp' And the shell-window is still dead. I can't do anything else until I close all my Python windows. Is there a better way to close the figure-window? Should I expect IDLE to work with matplotlib? Should I try and figure out Ipython instead? Should I look for a Tkinter installation? My current version is Revision: 50704? Any help or suggestions are appreciated. Wayne Hajas Pacific Biological Station 3190 Hammond Bay Road Nanaimo, BC Canada V9T 6N7 wayne.ha...@dfo-mpo.gc.ca mailto:haj...@dfo-mpo.gc.ca (250)756-7367 -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Newbie question/closing a figure-window
I have had similar experiences with IDLE on both XP and Ubuntu 8.04 and as a result I use IPython as much as possible. On XP I would recommend that you install Python(x,y), 2.1.9, http://www.pythonxy.com/foreword.php which includes IPython(0.9.1) and IDLE(1.2.2) as well as many other useful programs. The example you gave runs under IPython with the command run -i programname.py and gives a plot which can be accessed independently of the IPython shell. In other words you can execute commands in the shell while the plot is still on the screen. Hope this helps Richard p.s. I, like you, would still be interested in knowing why IDLE crashes when a .py script is run twice. Richard Johns rjo...@tbaytel.net On Tue, 2009-01-13 at 12:05 -0800, Hajas, Wayne wrote: I'm just getting into matplotlib and python. My apologies if I just haven't found the obvious documentation. I am running XP/Enthought Python 2.5/Idle/matplotlib 0.98.5.2 I run one of the scripts from the tutorial: import numpy as np import matplotlib.pyplot as plt mu, sigma = 100, 15 x = mu + sigma * np.random.randn(1) # the histogram of the data n, bins, patches = plt.hist(x, 50, normed=1, facecolor='g', alpha=0.75) plt.xlabel('Smarts') plt.ylabel('Probability') plt.title('Histogram of IQ') plt.text(60, .025, r'$\mu=100,\ \sigma=15$') plt.axis([40, 160, 0, 0.03]) plt.grid(True) plt.show() A window with the figure appears on my screen. It looks very nice. But now my PYTHON-Shell screen is dead. I can go to the figure window. I right click on the upper-border to close the window. I get the following error message on the PYTHON-Shell. Exception in Tkinter callback Traceback (most recent call last): File C:\Python25\lib\lib-tk\Tkinter.py, line 1403, in __call__ return self.func(*args) File C:\Python25\lib\idlelib\MultiCall.py, line 151, in handler r = l[i](event) File C:\Python25\lib\idlelib\ScriptBinding.py, line 166, in run_module_event interp.runcode(code) File C:\Python25\lib\idlelib\PyShell.py, line 701, in runcode self.interp.restart_subprocess() AttributeError: ModifiedInterpreter instance has no attribute 'interp' And the shell-window is still dead. I can't do anything else until I close all my Python windows. Is there a better way to close the figure-window? Should I expect IDLE to work with matplotlib? Should I try and figure out Ipython instead? Should I look for a Tkinter installation? My current version is Revision: 50704? Any help or suggestions are appreciated. Wayne Hajas Pacific Biological Station 3190 Hammond Bay Road Nanaimo, BC Canada V9T 6N7 wayne.ha...@dfo-mpo.gc.ca (250)756-7367 -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Newbie question/closing a figure-window
Gentlemen, I would recommend, in turn, Enthought Python (http://www.enthought.com), which also includes IPyhton, Matplotlib and many other useful libraries (eg. PIL) not included in Python(x,y). Hope this helps. Best regards, 2009/1/13 Richard Johns soylen...@tbaytel.net: I have had similar experiences with IDLE on both XP and Ubuntu 8.04 and as a result I use IPython as much as possible. On XP I would recommend that you install Python(x,y), 2.1.9, http://www.pythonxy.com/foreword.php which includes IPython(0.9.1) and IDLE(1.2.2) as well as many other useful programs. The example you gave runs under IPython with the command run -i programname.py and gives a plot which can be accessed independently of the IPython shell. In other words you can execute commands in the shell while the plot is still on the screen. Hope this helps Richard p.s. I, like you, would still be interested in knowing why IDLE crashes when a .py script is run twice. Richard Johns rjo...@tbaytel.net On Tue, 2009-01-13 at 12:05 -0800, Hajas, Wayne wrote: I'm just getting into matplotlib and python. My apologies if I just haven't found the obvious documentation. I am running XP/Enthought Python 2.5/Idle/matplotlib 0.98.5.2 I run one of the scripts from the tutorial: import numpy as np import matplotlib.pyplot as plt mu, sigma = 100, 15 x = mu + sigma * np.random.randn(1) # the histogram of the data n, bins, patches = plt.hist(x, 50, normed=1, facecolor='g', alpha=0.75) plt.xlabel('Smarts') plt.ylabel('Probability') plt.title('Histogram of IQ') plt.text(60, .025, r'$\mu=100,\ \sigma=15$') plt.axis([40, 160, 0, 0.03]) plt.grid(True) plt.show() A window with the figure appears on my screen. It looks very nice. But now my PYTHON-Shell screen is dead. I can go to the figure window. I right click on the upper-border to close the window. I get the following error message on the PYTHON-Shell. Exception in Tkinter callback Traceback (most recent call last): File C:\Python25\lib\lib-tk\Tkinter.py, line 1403, in __call__ return self.func(*args) File C:\Python25\lib\idlelib\MultiCall.py, line 151, in handler r = l[i](event) File C:\Python25\lib\idlelib\ScriptBinding.py, line 166, in run_module_event interp.runcode(code) File C:\Python25\lib\idlelib\PyShell.py, line 701, in runcode self.interp.restart_subprocess() AttributeError: ModifiedInterpreter instance has no attribute 'interp' And the shell-window is still dead. I can't do anything else until I close all my Python windows. Is there a better way to close the figure-window? Should I expect IDLE to work with matplotlib? Should I try and figure out Ipython instead? Should I look for a Tkinter installation? My current version is Revision: 50704? Any help or suggestions are appreciated. Wayne Hajas Pacific Biological Station 3190 Hammond Bay Road Nanaimo, BC Canada V9T 6N7 wayne.ha...@dfo-mpo.gc.ca (250)756-7367 -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Dr. Mauro J. Cavalcanti Ecoinformatics Studio P.O. Box 46521, CEP 20551-970 Rio de Janeiro, RJ, BRASIL E-mail: mauro...@gmail.com Web: http://studio.infobio.net Linux Registered User #473524 * Ubuntu User #22717 Life is complex. It consists of real and imaginary parts. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Newbie question/closing a figure-window
Gentlemen, I would recommend, in turn, Enthought Python (http://www.enthought.com), which also includes IPyhton, Matplotlib and many other useful libraries (eg. PIL) not included in Python(x,y). Hope this helps. Best regards, 2009/1/13 Richard Johns soylen...@tbaytel.net: I have had similar experiences with IDLE on both XP and Ubuntu 8.04 and as a result I use IPython as much as possible. On XP I would recommend that you install Python(x,y), 2.1.9, http://www.pythonxy.com/foreword.php which includes IPython(0.9.1) and IDLE(1.2.2) as well as many other useful programs. The example you gave runs under IPython with the command run -i programname.py and gives a plot which can be accessed independently of the IPython shell. In other words you can execute commands in the shell while the plot is still on the screen. Hope this helps Richard p.s. I, like you, would still be interested in knowing why IDLE crashes when a .py script is run twice. Richard Johns rjo...@tbaytel.net On Tue, 2009-01-13 at 12:05 -0800, Hajas, Wayne wrote: I'm just getting into matplotlib and python. My apologies if I just haven't found the obvious documentation. I am running XP/Enthought Python 2.5/Idle/matplotlib 0.98.5.2 I run one of the scripts from the tutorial: import numpy as np import matplotlib.pyplot as plt mu, sigma = 100, 15 x = mu + sigma * np.random.randn(1) # the histogram of the data n, bins, patches = plt.hist(x, 50, normed=1, facecolor='g', alpha=0.75) plt.xlabel('Smarts') plt.ylabel('Probability') plt.title('Histogram of IQ') plt.text(60, .025, r'$\mu=100,\ \sigma=15$') plt.axis([40, 160, 0, 0.03]) plt.grid(True) plt.show() A window with the figure appears on my screen. It looks very nice. But now my PYTHON-Shell screen is dead. I can go to the figure window. I right click on the upper-border to close the window. I get the following error message on the PYTHON-Shell. Exception in Tkinter callback Traceback (most recent call last): File C:\Python25\lib\lib-tk\Tkinter.py, line 1403, in __call__ return self.func(*args) File C:\Python25\lib\idlelib\MultiCall.py, line 151, in handler r = l[i](event) File C:\Python25\lib\idlelib\ScriptBinding.py, line 166, in run_module_event interp.runcode(code) File C:\Python25\lib\idlelib\PyShell.py, line 701, in runcode self.interp.restart_subprocess() AttributeError: ModifiedInterpreter instance has no attribute 'interp' And the shell-window is still dead. I can't do anything else until I close all my Python windows. Is there a better way to close the figure-window? Should I expect IDLE to work with matplotlib? Should I try and figure out Ipython instead? Should I look for a Tkinter installation? My current version is Revision: 50704? Any help or suggestions are appreciated. Wayne Hajas Pacific Biological Station 3190 Hammond Bay Road Nanaimo, BC Canada V9T 6N7 wayne.ha...@dfo-mpo.gc.ca (250)756-7367 -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Dr. Mauro J. Cavalcanti Ecoinformatics Studio P.O. Box 46521, CEP 20551-970 Rio de Janeiro, RJ, BRASIL E-mail: mauro...@gmail.com Web: http://studio.infobio.net Linux Registered User #473524 * Ubuntu User #22717 Life is complex. It consists of real and imaginary parts. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Manually limiting value ranges
Hi, I've figured this out. There was actually invalid input for the range the way my code really was. The code I had posted was completely wrong, anyway. All good now. :) The code p.plot(pvar[t,ipos,:]) ax = gca() ax.set_ylim(-10,10) p.show() works with or without a loop wrapped around it. :) Cheers, Christian On Wed, 7 Jan 2009 10:21:30 +1100 Christian Lerrahn li...@penpal4u.net wrote: Hi, the code given works for me in principle. If I run ipython without the -pylab flag and do an import * from pylab at the start instead, I can run this code and it runs fine. (If not, the plot() will imply the show and everything after that doesn't matter any more.) However, I'm now running into a new problem. I'm doing lots of separate plots like that (hence the need for a fixed scale). To that end I run the code in a loop which looks like for t in range(maxt): fig = p.figure(1) fig.clf() ax = fig.add_subplot(111) p.plot(pvar[t,ipos,:]) p.plot(pvar[t,:,ipos]) ax = gca() ax.set_ylim(-10,10) # filename = %s-sliced%04d%s.png % (var,t,dim) ptime = %0.3f % (timevar[t]/3600) p.title(var + ' at t=' + ptime + 'h') p.savefig(filename) p.clf() Now, this will result in the error File ./swimplot-slice.py, line 63, in module ax.set_ylim(-10,10) File /usr/lib/python2.5/site-packages/matplotlib/axes.py, line 2044, in set_ylim ymin = self.convert_yunits(ymin) File /usr/lib/python2.5/site-packages/matplotlib/artist.py, line 111, in convert_yunits return ax.yaxis.convert_units(y) File /usr/lib/python2.5/site-packages/matplotlib/axis.py, line 979, in convert_units self.converter = munits.registry.get_converter(x) File //usr/lib/python2.5/site-packages/matplotlib/units.py, line 137, in get_converter converter = self.get_converter( thisx ) File //usr/lib/python2.5/site-packages/matplotlib/units.py, line 137, in get_converter With the last line being repeated for every iteration (so I assume). Then after plenty of error messages like the last one above, I get File //usr/lib/python2.5/site-packages/matplotlib/units.py, line 130, in get_converter if converter is None and iterable(x): RuntimeError: maximum recursion depth exceeded Where does this recursion come from? Do I have to clear something in each iteration to avoid that? If so, how do I do that? Cheers, Christian On Tue, 30 Dec 2008 07:31:57 -0800 (PST) B Clowers clowe...@yahoo.com wrote: Christian, The answer to your second question is a little more involved and I think there are a few posts regarding custom colormaps on the mailing list that may be of interest...I'd try searching through those. I may not be the best person to answer that question. Also you may be interested in exploring the *kwargs vmin and vmax of the imshow command. They may do what you need as well: http://matplotlib.sourceforge.net/api/axes_api.html?highlight=imshow#matplotlib.axes.Axes.imshow As for your first question try the following in ipython with the -pylab flag: import numpy as N a = N.random.rand(50) a*=100 plot(a) ax = gca() ax.set_xlim(0,25) # The set_xlim and set_ylim may be what you're looking for... ax.set_ylim(0,50) show() --- On Mon, 12/29/08, Christian Lerrahn li...@penpal4u.net wrote: From: Christian Lerrahn li...@penpal4u.net Subject: [Matplotlib-users] Manually limiting value ranges To: matplotlib-users@lists.sourceforge.net Date: Monday, December 29, 2008, 11:19 PM Hi, I've been trying to do this for a while but just can't get it to work. :( There are 2 things I want to do. 1. I want to limit the value range in a line plot from matplotlib.pyplot.plot(). I thought that clip_box would do exactly that but setting something like [[-1,1],[-5,5]] or the like doesn't seem to have any effect. 2. In a 2D map plot from matplotlib.pyplot.imshow(), I would like to set the limits for the colour bar manually. I.e. I want the colours to be equally distributed over a fixed range. In both cases, the background to my attempt of using fixed values is that I'm producing a time series of plots via script and want all the plots to be directly comparable. Did I overlook this in the examples (or the documentation) or is there really no simple way of doing this? Cheers, Christian -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB
[Matplotlib-users] rotating plots
I am trying to produce a plot of data within a discrete number of categories, such as data in a dict: {'a':[0.3, 0.5], 'b':[0.9], 'c':[0.2, 0.4, 0.2]} Except, rather than have the categories along the x-axis, and the values on the y-axis, I need them the other way around. I know in the boxplot() function, you can use the vert argument to tilt the plot on its size (ie swap the axes), but is there an equivalent function for other plots. I guess what I'm looking for is a sideways boxplot, except plotting the individual points, rather than the boxplot per se -- there are only a small number of elements for each category, so a boxplot is not appropriate. Thanks in advance, -- Chris Fonnesbeck Department of Mathematics and Statistics PO Box 56, University of Otago Dunedin, New Zealand -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Newbie question/closing a figure-window
On Tue, 2009-01-13 at 22:43 -0200, Mauro Cavalcanti wrote: Gentlemen, I would recommend, in turn, Enthought Python (http://www.enthought.com), which also includes IPyhton, Matplotlib and many other useful libraries (eg. PIL) not included in Python(x,y). Hope this helps. Best regards, Just to clarify your comments re: Python(x,y) as I wasn't sure myself I checked on http://www.pythonxy.com/download.php . The full edition of Python(x,y) 2.1.9 contains all of the software you mentioned(PIL, matplotlib, IPython, Enthought Tool Suite) while any of these missing from the basic and light editions can be added as plugins. Another thing I like about Python(x,y) is that it is updated frequently so that you are always working with the most up-to-date software without having to compile it yourself. rj Richard Johns rjo...@tbaytel.net -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] plotting collections on an X date axes
Hi, Eric. Ah. Just my luck. I always push this stuff in new and unexpected ways. Here's what I'm trying to do --- I want to plot a graph of circles where the size of the circle and color are determined by the data, where the X axis is year/month/day, and the Y axis is just day. (So a lot of 1 values would be a lot of slightly diagonal lines.) Any idea how to do this within the current matplotlib, or should I just hack it by hand? Simson, The scatter function or Axes method is designed for exactly this, but units support was broken in two places. I have fixed it in 6781 on the 98.5 maintenance branch, merged to the trunk in 6782. So, please update to one of these and try scatter(). (Watch out for the odd definition of the s kwarg for size: area in points squared.) Eric Hm. So this means I need to switch from the .tar.gz releases to the subversion releases? Thanks. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Error importing Python Imaging Library (PIL)
Jon: It seems like PIL is not setuptools-aware... Thanks Jeff, this is good to know. I went back and reinstalled Python(x,y) and installed PIL as part of the setup options, then it all worked fine. Very useful to know that sometimes easy_install isn't the right option for installing plugins. (Thanks also to Mauro for your suggestion.) Regards, Jon 2009/1/13 Jeff Whitaker jsw...@fastmail.fm: Jon Blower wrote: Hi all, I'm a matplotlib newbie and have recently installed matplotlib as part of the Python(x,y) distribution for Windows. I want to do some image manipulation (e.g. basemap.warpimage()) and my initial installation didn't have the Python Imaging Library (PIL) installed, so I installed this via easy_install: easy_install PIL This worked, but it was installed in such a way that the import command from PIL import Image doesn't work (it seems that import Image works instead). This means that basemap.warpimage() does not work because it expects to be able to import PIL through the former expression. I can try to install PIL some other way, but does this indicate that the basemap module should try both ways of importing PIL, as different users might have different setups? Is there a quick fix that I could apply? (Apologies if this question has been asked before - I did some Googling and didn't find anything.) Regards, Jon Jon: It seems like PIL is not setuptools-aware... http://mail.python.org/pipermail/image-sig/2007-May/004451.html PIL does not get installed correctly using setuptools. You'll need to install the old-fashioned way, i.e. python setup.py install. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX: (303)497-6449 NOAA/OAR/PSD R/PSD1Email : jeffrey.s.whita...@noaa.gov 325 BroadwayOffice : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web: http://tinyurl.com/5telg -- Dr Jon Blower Technical Director, Reading e-Science Centre Environmental Systems Science Centre University of Reading Harry Pitt Building, 3 Earley Gate Reading RG6 6AL. UK Tel: +44 (0)118 378 5213 Fax: +44 (0)118 378 6413 j.d.blo...@reading.ac.uk http://www.nerc-essc.ac.uk/People/Staff/Blower_J.htm -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users