[Matplotlib-users] Reminder to vote in the SF Community Choice awards
Hi Gang, Matplotlib made it past the nomination stage and is one of the finalists in the 'best project for academia' category. Don't forget to register your vote! http://sourceforge.net/community/cca09/vote/ You can skip votes for categories you are not interested in if you like, but you can not revote, and can not change a vote once you submit. Best -Kaushik -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Sourceforge download page shows basemap as default download on windows
Hi All, I was downloading matplotlib on a windows machine and the sourceforge site (http://sourceforge.net/projects/matplotlib/) showed me basemap as the default download (instead of the latest matplotlib). On Mac the default download shows correctly as matplotlib. This is some autodetection from sourceforge, so I don't know if it is a sitewide problem, or it can be configured from the project page. Just to let the admins know. Best -Kaushik -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Thanks!
Hi! I would like to thank the matplotlib team for the new release. I haven't had the courage to deploy it on my main number crunching computer it but I have it on my regular computer and it's been fine. I'm especially excited to see renewed work on the 3D plotting. I have a quick question: what kind of improvements should I expect to see with the macos backend? I ran the 3D example with and without the backend, and things seemed qualitatively similar. Best -Kaushik -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] animate histogram
Hi Alan, Alan G Isaac wrote: > This is a second plea for help. > http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg12632.html > > I have a figure.Figure embedded in a FigureCanvasTkAgg. > Each iteration, new data are received, > and I want an updated histogram. > > Now I can at least see a way to do this with pyplot: > I just clear my axes each iteration, call ax.hist, > and then call plot.draw(). I think (?) my problem > is finding an equivalent to plt.draw() in the object > oriented interface. > > What I'd really like to do each iteration is change > only the heights of the rectangles. > I don't do fancy stuff like embedding figures in GUIs, but assuming things work the same way regardless: have you tried grabbing the object handles from hist (which are patches) and using the rectangle patch functions (http://matplotlib.sourceforge.net/api/artist_api.html#matplotlib.patches.Rectangle) e.g. set_height() to change the rectangles? e.g. code -- import pylab x = pylab.rand(20) h = pylab.hist(x) h[2][0].set_height(1) pylab.draw() h is a tuple with the last element as a list of patch objects In [82]: h Out[82]: (array([3, 3, 2, 1, 3, 0, 0, 1, 3, 4]), array([ 0.02262869, 0.11966418, 0.21669968, 0.31373517, 0.41077066, 0.50780615, 0.60484164, 0.70187713, 0.79891263, 0.89594812, 0.99298361]), ) Best -Kaushik -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Link from matplotlib webpage hijacked
Hi Gang, I don't know if it is a problem from nabble, but the 'archives' link from the main matplotlib pages goes to a decidedly non-matplotlib page. The link is http://www.nabble.com/matplotlib---users-f2906.html Best -Kaushik -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] I like the new webpage!
Just a note to say I like the new webpage layout and design! :) -kg - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Dependencies for the egg
Hi! I'm being dense here and I'm hoping some one can help me out. I had 0.91.1 from http://www.pythonmac.org/packages/py25-fat/index.html I went to install the shiny new version of matplotlib (0.98.3) on my mac using the .egg from sourceforge. I assumed that the .egg is a binary version of matplotlib, but the installer started to download a source tarball from sourceforge. It then failed because I don't have a bunch of libraries like png etc. I then tried with the --no-deps option on easy_install and it timed out. Well, I wanted to see how badly my install was borked and I ran ipython, imported matplotlib and checked the version and the date. In [3]: matplotlib.__version__ Out[3]: '0.98.3' In [4]: matplotlib.__date__ Out[4]: '$Date: 2008-07-31 15:08:08 -0400 (Thu, 31 Jul 2008) $' eh? It installed? Then I ran some of my scripts and it turns out those work fine too! I've been trying to understand: 1. Why the .egg would need to compile from source 2. Why the .egg works properly even though dependencies were missing and the compile failed Yours in astonishment -kg - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] SVG and pdf
Hi! This may be a pdf issue or an SVG issue and have nothing to do with matplotlib. If so, sorry... Whenever I produce a figure with matplotlib and 'crop it' using the axis command the svg comes out fine. However, when I save this svg to pdf using inkscape's 'cairo' backend the part of the data that was 'cropped' becomes visible in the pdf. e.g. if I had plotted data from x = -2 to +10, and then I set the axes to only show the data from +3 to +6, the svg comes out fine, but the pdf shows the rest of the graph leaking out from the axes. I currently have to manually crop my data to prevent this. Thanks! -K - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] SVG and pdf
Hi! This may be a pdf issue or an SVG issue and have nothing to do with matplotlib. If so, sorry... Whenever I produce a figure with matplotlib and 'crop it' using the axis command the svg comes out fine. However, when I save this svg to pdf using inkscape's 'cairo' backend the part of the data that was 'cropped' becomes visible in the pdf. e.g. if I had plotted data from x = -2 to +10, and then I set the axes to only show the data from +3 to +6, the svg comes out fine, but the pdf shows the rest of the graph leaking out from the axes. I currently have to manually crop my data to prevent this. Thanks! -K - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] SVG and pdf
Hi Mike, > Sounds like a Inkscape/Cairo issue to me, if the PDF it converts doesn't > match the SVG. That said, SVG is tricky to get right, and we may be > able to produce things in a different way that Inkscape will handle > correctly. I'll look into this and file a bug with Inkscape and/or > Cairo if it turns out to be a bug on their end. > Thanks! > Does directly outputting the PDF from matplotlib work as a workaround? > Yes, it works just fine. And importing this pdf to Inkscape works fine too! So that would be a convenient way to go. Thanks! -K >> Hi! >> >> This may be a pdf issue or an SVG issue and have nothing to do with >> matplotlib. >> If so, sorry... >> >> Whenever I produce a figure with matplotlib and 'crop it' using the >> axis command >> the svg comes out fine. However, when I save this svg to pdf using >> inkscape's >> 'cairo' backend the part of the data that was 'cropped' becomes >> visible in the >> pdf. e.g. if I had plotted data from x = -2 to +10, and then I set the >> axes to >> only show the data from +3 to +6, the svg comes out fine, but the pdf >> shows the >> rest of the graph leaking out from the axes. >> >> I currently have to manually crop my data to prevent this. >> >> Thanks! >> -K >> - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] interp with duplicates
Hi, This is more a coding/algorithm question than a straight matplotlib question. I have x and y data based on a parameter k. x and y have noise, so that even though k increases monotonically neither x nor y are guaranteed to do so. x can have duplicates. I need to find the area under the curve x,y (You may have guessed, x is false alarms, y is hit rate, and this is the ROC) What I'm doing is rather cumbersome. I first sort x (shuffling y accordingly) Then I crawl through x discarding the duplicates. Only then does interp give me reasonable values which I then use for finding the area under the curve. Is there a function in matplotlib that handles cases like this? Thanks! -K - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Python for scientists file exchange
Hi Everyone, As I've been learning python and using it more and more in my analysis work I've been wondering where I can go to post and find code snippets for python. A central file exchange, much like matlab's file exchange, would be great. I'm thinking of a very streamlined, blog like interface, where you log in, upload a bunch of .py files and then write a little description of what the code does and add some tags to it. So now we have a little repository where we can go and find code snippets to help us learn python. Is there such a repository? Thanks -Kaushik - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Matplotlib and Python 3
Hi Everyone, Quick question. Is matplotlib python 3 compatible? Has anyone switched to python 3? Anecdotally, how much of a pain is it to switch over, if you use common scientific libraries such as PIL and VTK? Thanks -Kaushik -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Matplotlib 0.98.5 egg on Mac OS X : Install Problem
Hi Everyone, I am running into a problem when trying to install 0.98.5 egg on a Mac OS X machine. Any help much appreciated. Relevant error messages follow: Thanks -Kaushik sudo easy_install matplotlib-0.98.5-py2.5-macosx-10.3.egg** BUILDING MATPLOTLIB matplotlib: 0.98.5 python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.2.1 freetype2: found, but unknown version (no pkg-config) OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 wxPython: no * wxPython not found Gtk+: no * Building for Gtk+ requires pygtk; you must be able * to "import gtk" in your build/install environment Mac OS X native: yes Qt: no Qt4: no Cairo: no OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: matplotlib will provide pytz: 2008c OPTIONAL USETEX DEPENDENCIES dvipng: no ghostscript: /bin/sh: gs: command not found latex: no EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES configobj: matplotlib will provide enthought.traits: no [Edit setup.cfg to suppress the above messages] error: lib/matplotlib/mpl-data/matplotlib.conf.template: No such file or directory Exception exceptions.OSError: (2, 'No such file or directory', 'src/image.cpp') in > ignored Exception exceptions.OSError: (2, 'No such file or directory', 'src/path.cpp') in > ignored Exception exceptions.OSError: (2, 'No such file or directory', 'src/backend_agg.cpp') in > ignored From within ipython:*** In [1]: import pylab --- ImportError Traceback (most recent call last) /Users/kghose/ in () /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/pylab.py in () > 1 from matplotlib.pylab import * 2 import matplotlib.pylab 3 __doc__ = matplotlib.pylab.__doc__ /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/pylab.py in () 204 from numpy import ma 205 --> 206 from matplotlib import mpl # pulls in most modules 207 208 from matplotlib.dates import date2num, num2date,\ /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/mpl.py in () 2 from matplotlib import axis > 3 from matplotlib import axes 4 from matplotlib import cbook 5 from matplotlib import collections 6 from matplotlib import colors /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/axes.py in () 16 import matplotlib.dates as mdates 17 import matplotlib.font_manager as font_manager ---> 18 import matplotlib.image as mimage 19 import matplotlib.legend as mlegend 20 import matplotlib.lines as mlines /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/image.py in () 17 # For clarity, names from _image are given explicitly in this module: 18 from matplotlib import _image ---> 19 from matplotlib import _png 20 21 # For user convenience, the names from _image are also imported into ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/_png.so, 2): Library not loaded: /usr/local/lib/libpng12.0.dylib Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/_png.so Reason: image not found In [2]: -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?h
[Matplotlib-users] [Fwd: Matplotlib 0.98.5 egg on Mac OS X : Install Problem]
Hi Everyone, I am running into a problem when trying to install 0.98.5 egg on a Mac OS X machine. Any help much appreciated. Relevant error messages follow: Thanks -Kaushik sudo easy_install matplotlib-0.98.5-py2.5-macosx-10.3.egg** BUILDING MATPLOTLIB matplotlib: 0.98.5 python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.2.1 freetype2: found, but unknown version (no pkg-config) OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 wxPython: no * wxPython not found Gtk+: no * Building for Gtk+ requires pygtk; you must be able * to "import gtk" in your build/install environment Mac OS X native: yes Qt: no Qt4: no Cairo: no OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: matplotlib will provide pytz: 2008c OPTIONAL USETEX DEPENDENCIES dvipng: no ghostscript: /bin/sh: gs: command not found latex: no EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES configobj: matplotlib will provide enthought.traits: no [Edit setup.cfg to suppress the above messages] error: lib/matplotlib/mpl-data/matplotlib.conf.template: No such file or directory Exception exceptions.OSError: (2, 'No such file or directory', 'src/image.cpp') in > ignored Exception exceptions.OSError: (2, 'No such file or directory', 'src/path.cpp') in > ignored Exception exceptions.OSError: (2, 'No such file or directory', 'src/backend_agg.cpp') in > ignored From within ipython:*** In [1]: import pylab --- ImportError Traceback (most recent call last) /Users/kghose/ in () /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/pylab.py in () > 1 from matplotlib.pylab import * 2 import matplotlib.pylab 3 __doc__ = matplotlib.pylab.__doc__ /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/pylab.py in () 204 from numpy import ma 205 --> 206 from matplotlib import mpl # pulls in most modules 207 208 from matplotlib.dates import date2num, num2date,\ /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/mpl.py in () 2 from matplotlib import axis > 3 from matplotlib import axes 4 from matplotlib import cbook 5 from matplotlib import collections 6 from matplotlib import colors /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/axes.py in () 16 import matplotlib.dates as mdates 17 import matplotlib.font_manager as font_manager ---> 18 import matplotlib.image as mimage 19 import matplotlib.legend as mlegend 20 import matplotlib.lines as mlines /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/image.py in () 17 # For clarity, names from _image are given explicitly in this module: 18 from matplotlib import _image ---> 19 from matplotlib import _png 20 21 # For user convenience, the names from _image are also imported into ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/_png.so, 2): Library not loaded: /usr/local/lib/libpng12.0.dylib Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/_png.so Reason: image not found In [2]: -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net
[Matplotlib-users] Matplotlib 0.98.5 egg on Mac OS X : Install Problem
Hi Everyone, I am running into a problem when trying to install 0.98.5 egg on a Mac OS X machine. Any help much appreciated. Relevant error messages follow: Thanks -Kaushik sudo easy_install matplotlib-0.98.5-py2.5-macosx-10.3.egg** BUILDING MATPLOTLIB matplotlib: 0.98.5 python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.2.1 freetype2: found, but unknown version (no pkg-config) OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 wxPython: no * wxPython not found Gtk+: no * Building for Gtk+ requires pygtk; you must be able * to "import gtk" in your build/install environment Mac OS X native: yes Qt: no Qt4: no Cairo: no OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: matplotlib will provide pytz: 2008c OPTIONAL USETEX DEPENDENCIES dvipng: no ghostscript: /bin/sh: gs: command not found latex: no EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES configobj: matplotlib will provide enthought.traits: no [Edit setup.cfg to suppress the above messages] error: lib/matplotlib/mpl-data/matplotlib.conf.template: No such file or directory Exception exceptions.OSError: (2, 'No such file or directory', 'src/image.cpp') in > ignored Exception exceptions.OSError: (2, 'No such file or directory', 'src/path.cpp') in > ignored Exception exceptions.OSError: (2, 'No such file or directory', 'src/backend_agg.cpp') in > ignored From within ipython:*** In [1]: import pylab --- ImportError Traceback (most recent call last) /Users/kghose/ in () /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/pylab.py in () > 1 from matplotlib.pylab import * 2 import matplotlib.pylab 3 __doc__ = matplotlib.pylab.__doc__ /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/pylab.py in () 204 from numpy import ma 205 --> 206 from matplotlib import mpl # pulls in most modules 207 208 from matplotlib.dates import date2num, num2date,\ /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/mpl.py in () 2 from matplotlib import axis > 3 from matplotlib import axes 4 from matplotlib import cbook 5 from matplotlib import collections 6 from matplotlib import colors /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/axes.py in () 16 import matplotlib.dates as mdates 17 import matplotlib.font_manager as font_manager ---> 18 import matplotlib.image as mimage 19 import matplotlib.legend as mlegend 20 import matplotlib.lines as mlines /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/image.py in () 17 # For clarity, names from _image are given explicitly in this module: 18 from matplotlib import _image ---> 19 from matplotlib import _png 20 21 # For user convenience, the names from _image are also imported into ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/_png.so, 2): Library not loaded: /usr/local/lib/libpng12.0.dylib Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5-macosx-10.3.egg/matplotlib/_png.so Reason: image not found In [2]: -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net
Re: [Matplotlib-users] Matplotlib 0.98.5 egg on Mac OS X : Install Problem
Heh, Sorry. Thanks for the link though and Happy Holidays! -Kaushik John Hunter wrote: > On Wed, Dec 17, 2008 at 2:32 PM, Kaushik Ghose > wrote: >> Hi Everyone, >> >> I am running into a problem when trying to install 0.98.5 egg on a Mac OS X >> machine. Any help much appreciated. Relevant error messages follow: > > Did you miss my repeated posts on this subject, asking for people to > test the new binaries that (hopefully) have fixed this problem? > > https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194&release_id=646644 -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Error with matplotlib-0.98.5.1-py2.5-macosx10.5.mpkg
Hi John, The install goes fine, but I come up blank on the import. Thanks -Kaushik sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib* ++ sudo installer -pkg matplotlib-0.98.5.1-py2.5-macosx10.5.mpkg -target / installer: Package name is matplotlib 0.98.5.1-r0 installer: Installing at base path / installer: The install was successful. +++ In [1]: import pylab --- ImportError Traceback (most recent call last) /Users/kghose/Source/ in () /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pylab.py in () > 1 from matplotlib.pylab import * 2 import matplotlib.pylab 3 __doc__ = matplotlib.pylab.__doc__ ImportError: No module named pylab ++ John Hunter wrote: > On Wed, Dec 17, 2008 at 2:29 PM, Kaushik Ghose > wrote: >> Hi Everyone, >> >> I am running into a problem when trying to install 0.98.5 egg on a Mac OS X >> machine. Any help much appreciated. Relevant error messages follow: > > I posted binaries to fix this problem and have requested testers, so > please try the binaries at > > https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194&release_id=646644 > > You might want to be sure to delete the old dir to get a clean install > >> sudo rm -rf >> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib* > > before installing the new. Let me know how it goes. > > JDH -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Error with matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg
Hi John, I tried the .egg package but no joy. Thanks -Kaushik sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib* sudo easy_install matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg Processing matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg creating /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg Extracting matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg to /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages Adding matplotlib 0.98.5.1-r0 to easy-install.pth file Installed /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg Processing dependencies for matplotlib==0.98.5.1-r0 Searching for matplotlib==0.98.5.1-r0 Reading http://pypi.python.org/simple/matplotlib/ Reading http://matplotlib.sourceforge.net Reading http://sourceforge.net/project/showfiles.php?group_id=80706 Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194 Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474 No local packages or download links found for matplotlib==0.98.5.1-r0 error: Could not find suitable distribution for Requirement.parse('matplotlib==0.98.5.1-r0') John Hunter wrote: > On Wed, Dec 17, 2008 at 2:29 PM, Kaushik Ghose > wrote: >> Hi Everyone, >> >> I am running into a problem when trying to install 0.98.5 egg on a Mac OS X >> machine. Any help much appreciated. Relevant error messages follow: > > I posted binaries to fix this problem and have requested testers, so > please try the binaries at > > https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194&release_id=646644 > > You might want to be sure to delete the old dir to get a clean install > >> sudo rm -rf >> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib* > > before installing the new. Let me know how it goes. > > JDH -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Error with matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg
Yess! The renaming works. Would simply changing the name of the file on sourceforge solve this problem? That would be so odd! Thanks -Kaushik $mv matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg matplotlib-0.98.5-py2.5.egg $ sudo easy_install matplotlib-0.98.5-py2.5.egg Password: Processing matplotlib-0.98.5-py2.5.egg creating /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5.egg Extracting matplotlib-0.98.5-py2.5.egg to /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages Removing matplotlib 0.98.5.1-r0 from easy-install.pth file Adding matplotlib 0.98.5 to easy-install.pth file Installed /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5-py2.5.egg Processing dependencies for matplotlib==0.98.5 Finished processing dependencies for matplotlib==0.98.5 and pylab imports and runs fine... John Hunter wrote: > On Wed, Dec 17, 2008 at 4:50 PM, Kaushik Ghose > wrote: >> Hi John, >> >> I tried the .egg package but no joy. >> >> Thanks >> -Kaushik >> >> sudo rm -rf >> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib* >> >> >> >> sudo easy_install matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg >> Processing matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg >> creating >> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg >> Extracting matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg to >> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages >> Adding matplotlib 0.98.5.1-r0 to easy-install.pth file >> >> Installed >> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.5.1_r0-py2.5-macosx-10.3-fat.egg >> Processing dependencies for matplotlib==0.98.5.1-r0 >> Searching for matplotlib==0.98.5.1-r0 >> Reading http://pypi.python.org/simple/matplotlib/ >> Reading http://matplotlib.sourceforge.net >> Reading http://sourceforge.net/project/showfiles.php?group_id=80706 >> Reading >> https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194 >> Reading >> https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474 >> No local packages or download links found for matplotlib==0.98.5.1-r0 >> error: Could not find suitable distribution for >> Requirement.parse('matplotlib==0.98.5.1-r0') > > > Eggs are an abomination -- the person who named the installer > "easy_install" should have their license revoked. I think we may > distributing them because they are simply broken in too many ways. > This recurring problem -- where the easy_install goes looking on pypi > for an egg even though you are pointing at one locally on the file > system, is simply ridiculous. > > Chris Barker suggests renaming the egg to matplotlib-0.98.5-py2.5.egg. > Try that, and please let me know. Thanks for the testing. > > JDH -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Error with matplotlib-0.98.5.1-py2.5-macosx10.5.mpkg
Hi John, This is odd. After successfully installing the egg (last post) and then removing it by doing sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib* I now get sudo installer -pkg matplotlib-0.98.5.1-py2.5-macosx10.5.mpkg -target / installer: Package name is matplotlib 0.98.5.1-r0 installer: Upgrading at base path / installer: The upgrade was successful. So there are some files I haven't gotten rid of, what should I be looking to remove? Thanks! -Kaushik John Hunter wrote: > On Wed, Dec 17, 2008 at 4:43 PM, Kaushik Ghose > wrote: >> Hi John, >> >> The install goes fine, but I come up blank on the import. >> >> Thanks >> -Kaushik >> >> sudo rm -rf >> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib* >> >> ++ >> >> sudo installer -pkg matplotlib-0.98.5.1-py2.5-macosx10.5.mpkg -target / >> installer: Package name is matplotlib 0.98.5.1-r0 >> installer: Installing at base path / >> installer: The install was successful. >> >> +++ >> >> In [1]: import pylab > > Please run the following commands after cleaning the previous installs > and reinstalling the mpkg file:: > > >ls >python -c 'import matplotlib; print matplotlib.__file__' >python -c 'import matplotlib; print matplotlib.__version__' >python -c 'import pylab' > > The ls is important because sometimes a person has a directory named > 'matplotlib' in their local path, and this is getting picked rather > than the installed matplotlib which contains the pylab module. > > JDH -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Plot aliasing
Hi Gang, I was plotting some data collected from an ADC and noticed an odd aliasing issue. Please see the images on the following site. http://assorted-experience.blogspot.com/2008/12/odd-aliasing-issue-with-matplotlib.html I wonder if there is any way to avoid this kind of aliasing. I vaguely remember our old arch-foe (MATLAB) handles this gracefully. I have found matplotlib's plotting to be superior to MATLAB's in every way (except for 3D) and it would be nice if aliasing could be handled gracefully. Also, thanks for the excellent binary packages for Mac! Many thanks -Kaushik -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Plot aliasing
Hi John, OK. I've managed to pare it down to the following pattern: import pylab N = 1000 x = pylab.zeros(200) x[1] = .5 x[2:24] = 1.0 x[24] = .5 x[26] = -.5 x[27:49] = -1.0 x[49] = -.5 x = pylab.tile(x, 100) pylab.plot(x) The above code is sufficient to repeat the glitch (just resize the window to check this). The half-way values (0.5) are important - if we have a straight jump the glitch isn't visible. I'm sorry but I couldn't find path.py under /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/ so I couldn't try it out. (Is it under a different place in mac?) thanks -Kaushik John Hunter wrote: > On Sat, Dec 27, 2008 at 10:29 AM, Kaushik Ghose > wrote: >> Hi Gang, >> >> I was plotting some data collected from an ADC and noticed an odd aliasing >> issue. Please see the images on the following site. >> >> http://assorted-experience.blogspot.com/2008/12/odd-aliasing-issue-with-matplotlib.html >> >> I wonder if there is any way to avoid this kind of aliasing. I vaguely >> remember >> our old arch-foe (MATLAB) handles this gracefully. I have found matplotlib's >> plotting to be superior to MATLAB's in every way (except for 3D) and it >> would be >> nice if aliasing could be handled gracefully. > > I'm almost certain this is a result of the path simplification logic. > Could you upload some sample data and a self contained script so we > can test? > You can test this by editing site-packages/path.py and replacing:: > > self.should_simplify = (len(vertices) >= 128 and > (codes is None or np.all(codes <= > Path.LINETO))) > > with:: > > self.should_simplify = False > > Michael, perhaps we could override path.should_simplify with an rc or > line property? > >> Also, thanks for the excellent binary packages for Mac! > > Thanks for testing them! -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Plot aliasing
PS. In the code just disregard the line N = 1000 - it does nothing. Ghose, Kaushik wrote: > Hi John, > > OK. I've managed to pare it down to the following pattern: > > import pylab > > N = 1000 > x = pylab.zeros(200) > x[1] = .5 > x[2:24] = 1.0 > x[24] = .5 > x[26] = -.5 > x[27:49] = -1.0 > x[49] = -.5 > x = pylab.tile(x, 100) > pylab.plot(x) > > > The above code is sufficient to repeat the glitch (just resize the window to > check this). The half-way values (0.5) are important - if we have a straight > jump the glitch isn't visible. > > I'm sorry but I couldn't find path.py under > > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/ > > so I couldn't try it out. (Is it under a different place in mac?) > > thanks > -Kaushik > > > > John Hunter wrote: >> On Sat, Dec 27, 2008 at 10:29 AM, Kaushik Ghose >> wrote: >>> Hi Gang, >>> >>> I was plotting some data collected from an ADC and noticed an odd aliasing >>> issue. Please see the images on the following site. >>> >>> http://assorted-experience.blogspot.com/2008/12/odd-aliasing-issue-with-matplotlib.html >>> >>> I wonder if there is any way to avoid this kind of aliasing. I vaguely >>> remember >>> our old arch-foe (MATLAB) handles this gracefully. I have found matplotlib's >>> plotting to be superior to MATLAB's in every way (except for 3D) and it >>> would be >>> nice if aliasing could be handled gracefully. >> I'm almost certain this is a result of the path simplification logic. >> Could you upload some sample data and a self contained script so we >> can test? >> You can test this by editing site-packages/path.py and replacing:: >> >> self.should_simplify = (len(vertices) >= 128 and >> (codes is None or np.all(codes <= >> Path.LINETO))) >> >> with:: >> >> self.should_simplify = False >> >> Michael, perhaps we could override path.should_simplify with an rc or >> line property? >> >>> Also, thanks for the excellent binary packages for Mac! >> Thanks for testing them! > > -- > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Displaying data that is changing
Leotis buchanan wrote: > > I want to use matplotlib to plot data that is changing every second, I am > thinking that in order to do this i will have to update the data array with > the new data , > and redraw the graph. Is this the recommended way to do it ? Depending on what environment you are calling from and how complicated the graph is, remember to do pylab.ioff() and the pylab.ion() before and after your drawing commands to speed up the drawing. Also, you may want to force the axis size, because axes that change in scale all the time can be distracting -Kaushik -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Plot aliasing
Hi Mike, I'm using 0.98.3 with the TkAgg backend on Mac OS X. I will update matplotlib from the site and try again. My attempt to use GtkAgg failed presumably because I don't have things set up with GTk on my Mac. best -Kaushik Michael Droettboom wrote: > I'm not able to reproduce this on matplotlib SVN head with the GtkAgg > backend. Which version and backend are you using? > > Mike > > Kaushik Ghose wrote: >> PS. In the code just disregard the line N = 1000 - it does nothing. >> >> Ghose, Kaushik wrote: >> >>> Hi John, >>> >>> OK. I've managed to pare it down to the following pattern: >>> >>> import pylab >>> >>> N = 1000 >>> x = pylab.zeros(200) >>> x[1] = .5 >>> x[2:24] = 1.0 >>> x[24] = .5 >>> x[26] = -.5 >>> x[27:49] = -1.0 >>> x[49] = -.5 >>> x = pylab.tile(x, 100) >>> pylab.plot(x) >>> >>> >>> The above code is sufficient to repeat the glitch (just resize the window to >>> check this). The half-way values (0.5) are important - if we have a straight >>> jump the glitch isn't visible. >>> >>> I'm sorry but I couldn't find path.py under >>> >>> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/ >>> >>> so I couldn't try it out. (Is it under a different place in mac?) >>> >>> thanks >>> -Kaushik >>> >>> >>> >>> John Hunter wrote: >>> >>>> On Sat, Dec 27, 2008 at 10:29 AM, Kaushik Ghose >>>> wrote: >>>> >>>>> Hi Gang, >>>>> >>>>> I was plotting some data collected from an ADC and noticed an odd aliasing >>>>> issue. Please see the images on the following site. >>>>> >>>>> http://assorted-experience.blogspot.com/2008/12/odd-aliasing-issue-with-matplotlib.html >>>>> >>>>> I wonder if there is any way to avoid this kind of aliasing. I vaguely >>>>> remember >>>>> our old arch-foe (MATLAB) handles this gracefully. I have found >>>>> matplotlib's >>>>> plotting to be superior to MATLAB's in every way (except for 3D) and it >>>>> would be >>>>> nice if aliasing could be handled gracefully. >>>>> >>>> I'm almost certain this is a result of the path simplification logic. >>>> Could you upload some sample data and a self contained script so we >>>> can test? >>>> You can test this by editing site-packages/path.py and replacing:: >>>> >>>> self.should_simplify = (len(vertices) >= 128 and >>>> (codes is None or np.all(codes <= >>>> Path.LINETO))) >>>> >>>> with:: >>>> >>>> self.should_simplify = False >>>> >>>> Michael, perhaps we could override path.should_simplify with an rc or >>>> line property? >>>> >>>> >>>>> Also, thanks for the excellent binary packages for Mac! >>>>> >>>> Thanks for testing them! >>>> >>> -- >>> ___ >>> Matplotlib-users mailing list >>> Matplotlib-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >> -- >> ___ >> Matplotlib-users mailing list >> Matplotlib-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > > -- > Michael Droettboom > Science Software Branch > Operations and Engineering Division > Space Telescope Science Institute > Operated by AURA for NASA > -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] [matplotlib-devel] What would you like to see in a book about Matplotlib?
Christopher Barker wrote: > A FAQ is a good idea, but the real problem is that most of the docs, > examples and code on this list has been matlab-style. People are going > to follow examples far more than any amount of documentation. I agree. I tend to learn by example with less resistance. -- 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 mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Strange behavior with arange : bug?
Hi, I'm using matplotlib 0.98.5.2 on mac os X. I get the following behavior with arange that I think is not right In [1]: import pylab In [2]: pylab.arange(0.5,1.0,.1) Out[2]: array([ 0.5, 0.6, 0.7, 0.8, 0.9]) < OK In [3]: pylab.arange(0.5,1.1,.1) Out[3]: array([ 0.5, 0.6, 0.7, 0.8, 0.9, 1. , 1.1]) <- Not OK Thanks -Kaushik -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Just a note of appreciation...
for one instance of the depth of thought that has gone into Matplotlib http://assorted-experience.blogspot.com/2009/03/why-i-love-matplotlib-python.html -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Sourceforge project nominations
Hi Gang, As you may know, Sourceforge hosts a Community Choice Awards thing (http://sourceforge.net/community/cca09/). If you really like matplotlib I would encourage you to nominate it for an award (I chose the "Best Project for Academia" category). The nomination page is here (http://sourceforge.net/community/cca09/nominate/) Best -Kaushik -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] draw() and multiprocessing module
Hi Everyone, I'm puzzled by the following problem: If I do plot updates by using a callback triggered by the multiprocessing module's apply_async then the updates do not take - only the final result is shown, as if in non-interactive mode. What could be the cause for this? Are there known issues using the multiprocessing module and interactive mode in matplotlib. Thanks! -Kaushik matplotlib.__version__ -> '0.99.1.1' Example code is below: import pylab import time from multiprocessing import Pool pylab.ion() x = pylab.arange(0,2*pylab.pi,0.01) line, = pylab.plot(x,pylab.sin(x)) start_time = time.time() def time_waster(): time.sleep(1) def plot(Dummy=None): t = time.time() - start_time print t line.set_ydata(pylab.sin(x+t/1.0)) pylab.draw() for i in range(200): plot() pool = Pool() for N in range(60): pool.apply_async(time_waster,(),{},plot) pool.close() pool.join() -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Bus error on import - Mac OS X (10.5.8) Matplotlib 1.0.0
Hi Guys, I did a search on the mailing list but could not come up with a solution, so I am crying "Uncle" and writing. I installed matplotlib 1.0.0 from the package on SF (http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg/download) I assumed that 10.4 would work on my 10.5 - perhaps that is where I went wrong? I installed it and got, satisfactorily: import matplotlib matplotlib.__version__ ---> '1.0.0' But when I do import pylab I get a bus error that throws me out of ipython. The trace is given below If anyone can direct me towards the right direction, I would be vary happy! Thanks -Kaushik Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x Crashed Thread: 0 Thread 0 Crashed: 0 ??? 00 0 + 0 1 org.python.python 0x002b32f7 _PyImport_LoadDynamicModule + 167 2 org.python.python 0x002b0c83 load_module + 227 3 org.python.python 0x002b11ad import_submodule + 301 4 org.python.python 0x002b1409 load_next + 201 5 org.python.python 0x002b1e03 PyImport_ImportModuleLevel + 419 6 org.python.python 0x0028ab5f builtin___import__ + 159 7 org.python.python 0x001e4d35 PyObject_Call + 85 8 org.python.python 0x002905be PyEval_CallObjectWithKeywords + 78 9 org.python.python 0x00293b50 PyEval_EvalFrameEx + 9680 10 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 11 org.python.python 0x002983f7 PyEval_EvalCode + 87 12 org.python.python 0x002af8ec PyImport_ExecCodeModuleEx + 188 13 org.python.python 0x002b058c load_source_module + 540 14 org.python.python 0x002b11ad import_submodule + 301 15 org.python.python 0x002b1409 load_next + 201 16 org.python.python 0x002b1db1 PyImport_ImportModuleLevel + 337 17 org.python.python 0x0028ab5f builtin___import__ + 159 18 org.python.python 0x001e4d35 PyObject_Call + 85 19 org.python.python 0x002905be PyEval_CallObjectWithKeywords + 78 20 org.python.python 0x00293b50 PyEval_EvalFrameEx + 9680 21 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 22 org.python.python 0x002983f7 PyEval_EvalCode + 87 23 org.python.python 0x002af8ec PyImport_ExecCodeModuleEx + 188 24 org.python.python 0x002b058c load_source_module + 540 25 org.python.python 0x002b11ad import_submodule + 301 26 org.python.python 0x002b1757 ensure_fromlist + 439 27 org.python.python 0x002b21ed PyImport_ImportModuleLevel + 1421 28 org.python.python 0x0028ab5f builtin___import__ + 159 29 org.python.python 0x001e4d35 PyObject_Call + 85 30 org.python.python 0x002905be PyEval_CallObjectWithKeywords + 78 31 org.python.python 0x00293b50 PyEval_EvalFrameEx + 9680 32 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 33 org.python.python 0x002983f7 PyEval_EvalCode + 87 34 org.python.python 0x002af8ec PyImport_ExecCodeModuleEx + 188 35 org.python.python 0x002b058c load_source_module + 540 36 org.python.python 0x002b11ad import_submodule + 301 37 org.python.python 0x002b1757 ensure_fromlist + 439 38 org.python.python 0x002b21ed PyImport_ImportModuleLevel + 1421 39 org.python.python 0x0028ab5f builtin___import__ + 159 40 org.python.python 0x001e4d35 PyObject_Call + 85 41 org.python.python 0x002905be PyEval_CallObjectWithKeywords + 78 42 org.python.python 0x00293b50 PyEval_EvalFrameEx + 9680 43 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 44 org.python.python 0x002983f7 PyEval_EvalCode + 87 45 org.python.python 0x002af8ec PyImport_ExecCodeModuleEx + 188 46 org.python.python 0x002b058c load_source_module + 540 47 org.python.python 0x002b11ad import_submodule + 301 48 org.python.python 0x002b1409 load_next + 201 49 org.python.python 0x002b1e03 PyImport_ImportModuleLevel + 419 50 org.python.python 0x0028ab5f builtin___import__ + 159 51 org.python.python 0x001e4d35 PyObject_Call + 85 52 org.python.python 0x002905be PyEval_CallObjectWithKeywords + 78 53 org.python.python 0x00293b50 PyEval_EvalFrameEx + 9680 54 org.python.python
Re: [Matplotlib-users] Matplotlib-users Digest, Vol 55, Issue 8
Wait, wait I see a related topic from a guy running windows. I haven't upgraded my Numpy (which is at 1.3.0) Let me see if that changes anything On 12/6/10 7:39 PM, matplotlib-users-requ...@lists.sourceforge.net wrote: > > Message: 1 > Date: Mon, 6 Dec 2010 19:39:47 -0500 > From: Kaushik Ghose > Subject: [Matplotlib-users] Bus error on import - Mac OS X (10.5.8) > Matplotlib 1.0.0 > To: "matplotlib-users@lists.sourceforge.net" > > Message-ID:<4cfd8253.5060...@hms.harvard.edu> > Content-Type: text/plain; charset="UTF-8"; format=flowed > > Hi Guys, > > I did a search on the mailing list but could not come up with a solution, so I > am crying "Uncle" and writing. > > I installed matplotlib 1.0.0 from the package on SF > (http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg/download) > > I assumed that 10.4 would work on my 10.5 - perhaps that is where I went > wrong? > > I installed it and got, satisfactorily: > > import matplotlib > matplotlib.__version__ > ---> '1.0.0' > > But when I do > > import pylab > > I get a bus error that throws me out of ipython. > > The trace is given below > > If anyone can direct me towards the right direction, I would be vary happy! > > Thanks > -Kaushik > -- What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Matplotlib-users Digest, Vol 55, Issue 8
Yep, sorry for bothering you guys. I installed NumPy 1.5.1 and everything is fine. I'm looking forward to using the 3D plotting capabilities. Once again, thanks to the whole team for moving forward on this. (perhaps, inorder to make it proof against fools like me, perhaps a dependency check during the import, requiring a minimum version of numpy would be possible ... ?) Best -Kaushik On 12/6/10 7:45 PM, Kaushik Ghose wrote: > Wait, wait I see a related topic from a guy running windows. I haven't > upgraded > my Numpy (which is at 1.3.0) Let me see if that changes anything > > On 12/6/10 7:39 PM, matplotlib-users-requ...@lists.sourceforge.net wrote: > >> >> Message: 1 >> Date: Mon, 6 Dec 2010 19:39:47 -0500 >> From: Kaushik Ghose >> Subject: [Matplotlib-users] Bus error on import - Mac OS X (10.5.8) >> Matplotlib 1.0.0 >> To: "matplotlib-users@lists.sourceforge.net" >> >> Message-ID:<4cfd8253.5060...@hms.harvard.edu> >> Content-Type: text/plain; charset="UTF-8"; format=flowed >> >> Hi Guys, >> >> I did a search on the mailing list but could not come up with a solution, so >> I >> am crying "Uncle" and writing. >> >> I installed matplotlib 1.0.0 from the package on SF >> (http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg/download) >> >> I assumed that 10.4 would work on my 10.5 - perhaps that is where I went >> wrong? >> >> I installed it and got, satisfactorily: >> >> import matplotlib >> matplotlib.__version__ >> ---> '1.0.0' >> >> But when I do >> >> import pylab >> >> I get a bus error that throws me out of ipython. >> >> The trace is given below >> >> If anyone can direct me towards the right direction, I would be vary happy! >> >> Thanks >> -Kaushik >> -- What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] ipython intermittently segfaults when figure is closed.
Hi, I don't know for sure if this is matplotlib's fault. ipython's fault or Mac OS X, but I ever since I upgraded to matplotlib 1.0.1 I have this problem that ipython will exit with segfault after I close a figure. I have not found what exactly causes the crash, but it can happen with the simplest of figures. This is one of those annoying intermittent problems: I can't replicate it with a sequence of steps. I can often run days with the same ipython shell, generating many many figures without problems, and sometimes everytime I plot a figure, ipython segfaults out after the figure is closed. The Mac OS X stack trace is attacked to the tracker ticket I opened (https://sourceforge.net/tracker/?func=detail&aid=3328133&group_id=80706&atid=560720). Many thanks -Kaushik -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ipython intermittently segfaults when figure is closed.
> I don't know for sure if this is matplotlib's fault. ipython's fault or Mac OS > X, but I ever since I upgraded to matplotlib 1.0.1 I have this problem that > ipython will exit with segfault after I close a figure. > >> What version of ipython are you using? Hi Eric, Thanks for your response. I'm indeed using 0.10 Good to know a new iPython will be out. Best -Kaushik -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Latex equations and SVG export
Hi Edin, Edin Salkovic wrote: >> >> m.text(0,0,'$\sum_{n=1}^{100}$');m.axis('off');m.savefig('test.svg') > > Shouldn't that be: > r'$\sum_{n=1}^{100}$' # i.e. a "raw" string. > > or: > > '$\\sum_{n=1}^{100}$' # Escaped backslash > Actually the original string renders as desired. Its the svg save that causes the problem. I gather this is due to incomplete implementation of svg export. thanks! -Kaushik - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Latex equations and SVG export
> > I looked into this. You just have to install (copy) the BaKoMa fonts > (TrueType version of the Computer Modern fonts) into your system's > font dir, so the svg viewer can see them. These fonts are located in > the "matplotlib/mpl-data/fonts/ttf" dir (the cm*.ttf files). > Thanks Edin! Yes, that worked! There is still an issue with sub/super scripts though. They are inverted i.e. superscripts become subscripts. I'm attaching an example, created using m.text(0 ,0 ,'$\sum_{n=1}^{100} = 99^5 * q_i + \delta$');m.axis('off');m.savefig('eraseme.svg') thanks! -Kaushik <>- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Latex equations and SVG export
Hi Edin, > Hmm. I'm not sure whether this is a problem with matplotlib or > inkscape. I had some weird problems with inkscape on Ubuntu Feisty > recently, like: when I open the file from Nautilus (right click->open > with Inkscape) it is completely turned around; when I open Inkscape > (blank file), and open the file from within inkscape everything is > displayed correctly. > > Have you opened the file in other viewers? > Good point. I tried just now on Firefox and got the same error. For an image of what I mean see this http://python-pieces.blogspot.com/2007/07/latex-and-svg-export.html I'm attaching the svg output here in case someone wants to try it out: http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";> http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; version="1.1" id="svg1"> 1 = n i ± + q ¤ 5 9 9 = 0 0 1 X - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] 3D plotting support
Hi Everyone, I vaguely remember a comment from a poster a short while back that suggested that 3D support in matplotlib was not serious. I would like to ask what plans there are for 3D plotting support in this great library. thanks! -Kaushik - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] problems in Inkscape with SVG exported from matplotlib
Hi Everyone, I have a peculiar problem, and I wonder if anyone can assist me. I have two figures generated from matplotlib and saved as svgs. They both print fine, and they load in Inkscape just fine. However, when I copy one figure and paste it into the other, the pasted figure's labels and text become garbled. Screenshots on this page http://assorted-experience.blogspot.com/2008/03/inkscape-matplotlibs-svg-one-strange.html Any suggestions would be most welcome Thanks -Kaushik - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] SVG export text grouping on mac
Hi Everyone, I'm using matplotlib on mac (matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg) . On windows svg export would have very sensible text grouping. For example an xlabel('Time') when saved to svg results in one text object 'Time'. In the mac version this is saved as 5 separate objects, not text. A little puzzling, and inconvenient. Is there an option somewhere to change this behavior? I'm attaching an example svg. Thanks! -Kaushik <>- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] OSX installation problems
Hi Jules, I've been making the migration to mac recently myself. I have OS 10.5.2 running on Intel. If the source of your distribution is not an issue, I would recommend using matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg from the matplotlib site, along with the easy_installer script. That went fine for me. Thanks -Kaushik - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] SVG export text grouping on mac
Hi Mike, Thanks for the tip. I tried it, but I get the following message: Bad key "svg.embed_chars" on line 294 in /Users/kghose/.matplotlib/matplotlibrc. You probably need to get an updated matplotlibrc file from http://matplotlib.sf.net/matplotlibrc or from the matplotlib source distribution The text is still exported as path. Thanks -Kaushik Michael Droettboom wrote: > The rcParam svg.embed_chars controls this behavior. I would assume it > is set differently on your Windows and Mac boxes. > > When it is True, rather than outputting blocks, it embeds the > characters as outlines. This means that the fonts do not have to be > installed just to view the SVG correctly. The upside is better > "portability" of the file. The downside is that the text can be > impossible to edit in tools such as Inkscape or Illustrator. (Using SVG > fonts would have been better, but there isn't much support for them in > the wild yet). > > When it is False, regular text blocks are used, but things will look > strange (particularly with math text) if the correct fonts are not > installed on the viewer's machine. > > Hope that helps. > > Mike > > Kaushik Ghose wrote: >> Hi Everyone, >> >> I'm using matplotlib on mac >> (matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg) . >> >> On windows svg export would have very sensible text grouping. For >> example an xlabel('Time') when saved to svg results in one text object >> 'Time'. >> >> In the mac version this is saved as 5 separate objects, not text. A >> little puzzling, and inconvenient. >> >> Is there an option somewhere to change this behavior? >> >> I'm attaching an example svg. >> >> Thanks! >> -Kaushik >> >> >> - >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save >> $100. Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> >> >> >> >> ___ >> Matplotlib-users mailing list >> Matplotlib-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] SVG export text grouping on mac
Thanks, that worked! Small note, the example matplotlibrc file on the website (http://matplotlib.sourceforge.net/matplotlibrc) as well as the one in the most recent mac OS egg has "svg.embed_chars". Thanks -Kaushik Michael Droettboom wrote: > Sorry. I mistyped. It's "svg.embed_char_paths" > > Cheers, > Mike > > Kaushik Ghose wrote: >> Hi Mike, >> >> Thanks for the tip. I tried it, but I get the following message: >> >> Bad key "svg.embed_chars" on line 294 in >> /Users/kghose/.matplotlib/matplotlibrc. >> You probably need to get an updated matplotlibrc file from >> http://matplotlib.sf.net/matplotlibrc or from the matplotlib source >> distribution >> >> The text is still exported as path. >> >> Thanks >> -Kaushik >> >> >> Michael Droettboom wrote: >>> The rcParam svg.embed_chars controls this behavior. I would assume >>> it is set differently on your Windows and Mac boxes. >>> >>> When it is True, rather than outputting blocks, it embeds the >>> characters as outlines. This means that the fonts do not have to be >>> installed just to view the SVG correctly. The upside is better >>> "portability" of the file. The downside is that the text can be >>> impossible to edit in tools such as Inkscape or Illustrator. (Using >>> SVG fonts would have been better, but there isn't much support for >>> them in the wild yet). >>> >>> When it is False, regular text blocks are used, but things will look >>> strange (particularly with math text) if the correct fonts are not >>> installed on the viewer's machine. >>> >>> Hope that helps. >>> >>> Mike >>> >>> Kaushik Ghose wrote: >>>> Hi Everyone, >>>> >>>> I'm using matplotlib on mac >>>> (matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg) . >>>> >>>> On windows svg export would have very sensible text grouping. For >>>> example an xlabel('Time') when saved to svg results in one text >>>> object 'Time'. >>>> >>>> In the mac version this is saved as 5 separate objects, not text. A >>>> little puzzling, and inconvenient. >>>> >>>> Is there an option somewhere to change this behavior? >>>> >>>> I'm attaching an example svg. >>>> >>>> Thanks! >>>> -Kaushik >>>> >>>> >>>> >>>> - >>>> >>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >>>> Don't miss this year's exciting event. There's still time to save >>>> $100. Use priority code J8TL2D2. >>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>>> >>>> >>>> >>>> >>>> >>>> ___ >>>> Matplotlib-users mailing list >>>> Matplotlib-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>>> > - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] BUG: python exists when savefig(None) is called
> Matthias Michler wrote: > Hi John, > > On Wednesday 23 April 2008 12:28:11 John Reid wrote: >> I'm on Windows with python 2.5. How do I find the version of matplotlib? >> I think it is fairly recent (within last 6 months anyhow). > > import matplotlib > print matplotlib.__version__ > John, thanks for asking, Matthias for answering, this question, which I've always been afraid to ask... :) -Kaushik - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users