[Matplotlib-users] figure.colorbar sometimes raises an exception

2013-11-22 Thread Russell E. Owen
We have code that ran fine in 1.1.1 that raises an exception in colorbar in 1.2.1 and 1.3.1. I have appended an example; I'm afraid it is rather extreme, but we have seen this for arrays that have more than one non-masked values as well, even with the values not all being equal. Should I report

Re: [Matplotlib-users] Installation issue: python setup.py install --home=... fails

2013-11-22 Thread Russell E. Owen
In article <528e8aac.1090...@stsci.edu>, Michael Droettboom wrote: > When you use |--home|, distutils assumes you are referring to a home > directory in which you have a tree of libraries in |lib|lib64| living > there, so it appends |lib64/python| to the given path: > > |> python setup.py i

Re: [Matplotlib-users] Any progress on binary installer for OSX?

2013-10-03 Thread Russell E. Owen
In article , Matthew Brett wrote: > Hi, > > On Thu, Oct 3, 2013 at 5:59 AM, Michael Droettboom > wrote: > > Matthew Terry, as part of his Mac testing project, has done a great deal of > > reconnaissance on this. > > > > https://github.com/matplotlib/mpl_mac_testing > > > > I know he was lo

Re: [Matplotlib-users] building matplotlib 1.3 on OS X 10.8.4

2013-08-23 Thread Russell E. Owen
In article , James Boyle wrote: > I built MPL 1.3 from source, all seem to go OK but I ran into the problem of > not finding libfreetype.6.dylib when importing. Hmmm, it works for me. (I tried it again, just now). Here is what I did: * Make sure you have XQuartz installed. I have 2.7.4 whic

[Matplotlib-users] Mac binary installer for Python 3 delayed

2012-12-14 Thread Russell E. Owen
It turns out I won't be able to make a Mac binary installer for matplotlib anytime soon. I use bdist_mpkg to make the Mac binary installers for MacOS X, and the current release of bdist_mpkg (4.4) is not compatible with Python 3. I don't know how to make binary installers without bdist_mpkg, th

Re: [Matplotlib-users] Why is pip not mentioned in the Installation Documentation?

2012-11-26 Thread Russell E. Owen
In article <955a698f5edf4fbb9168429b718f5...@gmail.com>, Ludwig Schwardt wrote: > Pip works beautifully on the Mac since Lion, once you install pkg-config. > This allows matplotlib to pick up the dependencies from the system (i.e. > libpng, libfreetype and zlib) I had not heard of pkg-c

Re: [Matplotlib-users] Why is pip not mentioned in the Installation Documentation?

2012-11-16 Thread Russell E. Owen
In article <50a61b5b.1090...@ed.ac.uk>, Mathew Topper wrote: > Hi, > > I'm interested to know why the pip package manager is not more widely > supported for installation of python packages like matplotlib? > Matplotlib seems to be particularly slowly updated in the Fedora > repositories, for

Re: [Matplotlib-users] matplotlib 1.2.0 (OS X 10.6 binary) "requires System Python 2.7"

2012-11-13 Thread Russell E. Owen
In article , Alexey Shamrin wrote: > Thank you for 1.2.0 release! > > Could you please make it clear that matplotlib requires > python.org-Python sourceforge.net-NumPy? Telling about it during > installation would be great. This is described in three places: - The description of the file on

Re: [Matplotlib-users] installing matplotlib on mac os X with the *.dmg file

2012-08-31 Thread Russell E. Owen
In article <5b7d5731-75a1-4a27-8864-c973259cf...@neuro.uni-bremen.de>, Felix Patzelt wrote: > The dmg you are referring to appears to install to > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages > (The main library, not the one for in our user directory). Most l

Re: [Matplotlib-users] matplotlib for Mac OS 10.7 (Lion)

2012-04-24 Thread Russell E. Owen
In article , C M wrote: > > > Trying to help a Mac friend running OSX 10.7 (Lion) easily set up to test > > > scripts I send him, and have some questions: > > > > > > 1) Can Matplotlib 1.1 run on the Python 2.7.2 version that comes with > > > Lion? > > > > Yes. You can easily build it yoursef a

Re: [Matplotlib-users] matplotlib for Mac OS 10.7 (Lion)

2012-04-23 Thread Russell E. Owen
In article , C M wrote: > Trying to help a Mac friend running OSX 10.7 (Lion) easily set up to test > scripts I send him, and have some questions: > > 1) Can Matplotlib 1.1 run on the Python 2.7.2 version that comes with > Lion? Yes. You can easily build it yoursef as long as you have XCode

Re: [Matplotlib-users] Having trouble installing matplotlib on Mac OS X Lion

2012-04-05 Thread Russell E. Owen
In article , Bill Carithers wrote: > Hi all, > > I had matplotlib-0.99.1.1 working with Python 2.6 on OS X v10.6(Snow > Leopard). Today I upgraded to Lion (v10.7) and matplotlib had disappeared. > Lion ships with Apple¹s version of Python 2.7. Even when I look back at > Python 2.6 in the /Syste

Re: [Matplotlib-users] Question(s) for new MAC 10.7 User

2012-03-01 Thread Russell E. Owen
In article , "Russell E. Owen" wrote: > In article > blic.gmane.org>, > William Jennings > wrote: > > > Hello mat plot lib users! > > I feel quite embarrassed that I've gone through 2 days of trying to get to > > get numpy, scipy an

Re: [Matplotlib-users] Question(s) for new MAC 10.7 User

2012-02-28 Thread Russell E. Owen
In article , William Jennings wrote: > Hello mat plot lib users! > I feel quite embarrassed that I've gone through 2 days of trying to get to > get numpy, scipy and matplotlib all to work nice with each other. I've > scraped through forums, stackoverflow and all the links that can bide me >

Re: [Matplotlib-users] 64-bit matplotlib 1.1.0 installer available

2012-02-15 Thread Russell E. Owen
In article , 7stud <7s...@excite.com> wrote: > Russell E. Owen writes: > > > > > I just created a binary installer for python.org's 64-bit Python 2.7 > > (MacOS X 10.6 and later). I'd like a few folks to test it to make sure > > it works for mor

Re: [Matplotlib-users] matplotlib install on mac osx 10.6.8

2012-02-15 Thread Russell E. Owen
In article , 7stud <7s...@excite.com> wrote: > Since my op, I also tried to download: > > matplotlib-1.1.0.tar.gz > > and I got a Decompression Failed message in the Downloads window. > I checked my Safari settings, and > Safari is set to automatically decompress 'safe' files. > guess it

[Matplotlib-users] 64-bit matplotlib 1.1.0 installer available

2012-02-14 Thread Russell E. Owen
I just created a binary installer for python.org's 64-bit Python 2.7 (MacOS X 10.6 and later). I'd like a few folks to test it to make sure it works for more than just me, before serving it at the usual location. The temporary link is:

Re: [Matplotlib-users] matplotlib install on mac osx 10.6.8

2012-02-14 Thread Russell E. Owen
In article <20120213223549.21...@web007.roc2.bluetie.com>, "Full Name" <7s...@excite.com> wrote: > Hello, > > Mac OSX 10.6.8 > matplotlib 1.1.0 > > > From the matplotlib website: > = > Installing OSX binaries > If you want to install matplotlib from one of the binary installers we buil

Re: [Matplotlib-users] Matplotlib "show()" error Mac OS X Lion

2011-11-10 Thread Russell E. Owen
In article <1320891765.14646.yahoomailclas...@web161202.mail.bf1.yahoo.com>, Michiel de Hoon wrote: > --- On Wed, 11/9/11, Russell E. Owen > wrote: > > There is no matplotlib binary for 64-bit Python yet because > > I've not > > figured out how to build

Re: [Matplotlib-users] Matplotlib "show()" error Mac OS X Lion

2011-11-09 Thread Russell E. Owen
In article <629e8f74-c832-4500-9768-8af5fb39d...@pik-potsdam.de>, Bedartha Goswami wrote: > Hi, > > I have recently installed Python 32/64bit from Python.org and then I > proceeded to install bumpy, scipy, matplotlib and igraph on it. But the > Matplotlib does not show the plots even if it

[Matplotlib-users] Problem building 64-bit matplotlib for MacOS X 10.6

2011-10-11 Thread Russell E. Owen
I was hoping to build a matplotlib binary installer for python.org's 64-bit Python (MacOS X 10.6 and later). But I've run into problems that make me think python.org's python is not fully compatible with ActiveState Tcl/Tk. Here's what I have: MacOS X 10.6.8 Python: python-2.7.2-macosx10.6.dmg

Re: [Matplotlib-users] Legend for stacked histogram?

2011-06-30 Thread Russell E. Owen
In article , "Russell E. Owen" wrote: > I am trying to make a legend for a stacked histogram using matplotlib > 1.0.1 and it's not working. > > Here's what I've tried so far: > > count, bins, ignored = pyplot.hist( >

[Matplotlib-users] Legend for stacked histogram?

2011-06-30 Thread Russell E. Owen
I am trying to make a legend for a stacked histogram using matplotlib 1.0.1 and it's not working. Here's what I've tried so far: count, bins, ignored = pyplot.hist( (matchedStarPsfMags, unmatchedRefStarPsfMags, unmatchedSourcePsfMags), bins=30, histtype='barstacked'

Re: [Matplotlib-users] installation problem on Mac

2011-06-16 Thread Russell E. Owen
In article , Rebecca Gray wrote: > I am trying to install matplotlib on my Mac OS X 10.6.6. I currently have > Python 2.7.2 installed. I tried installing > ***matplotlib-1.0.1-python.org-32bit-py2.7-macosx10.3.dmg. > The installation appears to run fine, but when I try to import pylab * I am > g

Re: [Matplotlib-users] Find the RMS from a PSD

2011-01-25 Thread E
I think this was a bug in the PSD function in matplotlib 0.98.1 (Debian lenny). This was making me crazy. I took newer source code of this function from the project and all is going well. So to get the RMS power from PSD : y, x = pylab.psd(data, NFFT = nfft, Fs = samplerate) freqbandwith = x[1] y

[Matplotlib-users] Find the RMS from a PSD

2011-01-24 Thread E
Hello matplotlib users. I'm new to signal processing and I've read that RMS could be found from a PSD. I'm interested in as I would further like to know energy in a signal through it's frequencies. My problem is I don't find how to calculate the RMS from the PSD output. It seems it's a matter of s

Re: [Matplotlib-users] mac osx 10.6 matplotlib installation error: "lipo: can't open input file: /var/tmp//*.out"

2011-01-18 Thread Russell E. Owen
In article <26f19958-353a-471e-a1ee-db33f1207...@sydney.edu.au>, Leslie Burnett wrote: > Pathways leading to the error message: > > I obtained Matplotlib from the matplotlib home page download link to > sourceforge > > a) mpkg/dmg installation 1.0.1-r0 fails with message "can't be installed

Re: [Matplotlib-users] Adding 2 Line2D objects to a Subplot

2010-12-21 Thread Russell E. Owen
In article <4d0f8efd.3010...@gmail.com>, Jose Guzman wrote: > Hi everybody > > I wanted to collect a combination of plots to insert then in a subplot. > I choose to create Line2D objects to use the .add_line() method of the > AxesSubplot class, but unfortunately this does lead to the desire

Re: [Matplotlib-users] Updating tick labels on animated plot

2010-12-13 Thread Russell E. Owen
In article , Søren Nielsen wrote: > Hi, > > I have an animated plot and I'm having trouble updating the tick labels > after I blit new data to the canvas. I've looked through the documentation > and it's not clear to me how I can update the x and y axis ticks during an > animation. Anyone he

Re: [Matplotlib-users] Bus error on import - Mac OS X (10.5.8) Matplotlib 1.0.0

2010-12-09 Thread Russell E. Owen
In article <4cfd8253.5060...@hms.harvard.edu>, Kaushik Ghose wrote: > 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/m

[Matplotlib-users] memory "leak" caused by canvas.draw()

2010-12-09 Thread Russell E. Owen
I explored the memory leak in my strip chart widget some more and found that it is caused by calling canvas.draw(), where canvas is: figure = matplotlib.figure.Figure(figsize=(8, 2), frameon=True) canvas = FigureCanvasTkAgg(figure, self) canvas.show() exhibits exactly the same problem. So...wha

Re: [Matplotlib-users] Memory leak; user error or bug?

2010-12-01 Thread Russell E. Owen
In article <4cf69ba4.1000...@stsci.edu>, Michael Droettboom wrote: > On 12/01/2010 01:40 PM, Russell E. Owen wrote: > > I'm seeing a nasty memory leak in my strip chart widget using matplotlib > > 1.0, TkAgg and Mac OS X 10.5 > > > > I'

[Matplotlib-users] Memory leak; user error or bug?

2010-12-01 Thread Russell E. Owen
I'm seeing a nasty memory leak in my strip chart widget using matplotlib 1.0, TkAgg and Mac OS X 10.5 I've posted a minimal version here: It doesn't seem to matter if I use the animation API or not (the example does n

[Matplotlib-users] Mac binary updated: bad file permission

2010-10-08 Thread Russell E. Owen
The Mac installer for matplotlib that I recently announced had a bug: a file in dateutil had bad permissions. I think I've finally got that straightened out and there's a new installer here: My apologies for the error. -- Russell -

[Matplotlib-users] New Mac binary installer for Python 2.6; do we bother with Python 2.5?

2010-10-06 Thread Russell E. Owen
I finally got hold of a Mac that can run 10.4 and was finally able to build a new binary installer for Python 2.6 (as well as one for PIL 1.1.7) is truly compatible with Mac OS X 10.3.9. For now it is available here: though I hope it will end

Re: [Matplotlib-users] strip chart: thanks for your help

2010-10-04 Thread Russell E. Owen
In article , "Russell E. Owen" wrote: > I finished my strip chart widget thanks to help from Tony S Yu, Benjamin > Root and others here. It supports multiple subplots and multiple > lines/subplot. Here's a copy if anyone is interested: > <http://www.astro.was

[Matplotlib-users] strip chart: thanks for you help

2010-09-29 Thread Russell E. Owen
I finished my strip chart widget thanks to help from Tony S Yu, Benjamin Root and others here. It supports multiple subplots and multiple lines/subplot. Here's a copy if anyone is interested: I plan to add it to the RO python p

Re: [Matplotlib-users] autoscale when adding data to a Line2D?

2010-09-27 Thread Russell E. Owen
In article <4ca0549d.3060...@hawaii.edu>, Eric Firing wrote: > On 09/26/2010 09:43 PM, Fernando Perez wrote: > > Mmh, > > > > On Sun, Sep 26, 2010 at 10:56 PM, Jae-Joon > > Lee wrote: > >> > >> Did you try autoscale_view method? > >> > >> http://matplotlib.sourceforge.net/api/axes_api.html?hig

[Matplotlib-users] autoscale when adding data to a Line2D?

2010-09-24 Thread Russell E. Owen
I'm implementing a strip chart class by setting the data in a Line2D (well, one or more Line2D instances tied to one or more Subplots). However, I find that when I do this I can't get the y axis to autoscale, even if I create the Line2Ds with animate=False. Am I overlooking something really bas

Re: [Matplotlib-users] Tying X axes information together in multiple subplots?

2010-09-24 Thread Russell E. Owen
In article , Benjamin Root wrote: > On Fri, Sep 24, 2010 at 12:30 PM, Russell E. Owen > wrote: > > > I'm making a set of plots (a strip chart) stacked on top of each other, > > all sharing the same X axis (time). > > > > So far it appears that to get

Re: [Matplotlib-users] another incorrectly clipped PNG in the gallery

2010-09-24 Thread Russell E. Owen
In article , John Hunter wrote: > On Wed, Sep 22, 2010 at 8:31 PM, C M > wrote: > > > Until a more permanent solution is figured out, can anyone recommend > > any workarounds, even if they are a little clunky?  I'm embedding mpl > > plots in wxPython and am also finding this issue suboptimal

[Matplotlib-users] Tying X axes information together in multiple subplots?

2010-09-24 Thread Russell E. Owen
I'm making a set of plots (a strip chart) stacked on top of each other, all sharing the same X axis (time). So far it appears that to get the X axis of each Subplot to match I have to set its properties independently. Is there some way to tie them all together so that a user can set the proper

Re: [Matplotlib-users] another incorrectly clipped PNG in the gallery

2010-09-22 Thread Russell E. Owen
In article <4c935c08.1000...@gmail.com>, Alan G Isaac wrote: > http://matplotlib.sourceforge.net/examples/pylab_examples/accented_text.html It's realistic, and that has a lot to be said for it. One of my problems with matplotlib is that it is far too willing to truncate axis labels and rela

Re: [Matplotlib-users] Matplotlib 1.0.0 OS X Binaries for Python 2.7?

2010-08-30 Thread Russell E. Owen
I don't think there is a release numpy that is compatible with Python 2.7 (though it is due shortly in the form of numpy 1.5) and matplotlib requires numpy. -- Russell In article , Åke Kullenberg wrote: > I've seen some posts asking for the same thing, but there's been quite some > time n

[Matplotlib-users] Hints on sizing plot elements?

2010-08-11 Thread Russell E. Owen
I'm making a strip chart widget (which I plan to make publicly available when finished). The basics are working fine, but the automatic sizing is not doing so well. Strip charts are typically short, and when suitably short the X axis annotations are partially truncated. So...can I convince the

Re: [Matplotlib-users] installation of matplotlib on OS X 10.5 with python.org Python 2.6

2010-08-06 Thread Russell E. Owen
In article , Stephen T. wrote: > Hi, I am having trouble installing matplotlib. I have OS X 10.5 with Python > 2.6 > downloaded and installed from python.org. > (10.5 came with Apple > Python 2.5). I've also installed NumPy and SciPy for Python 2.6. I encourage you to try the matplotlib 1

[Matplotlib-users] Animation doc glitches

2010-08-06 Thread Russell E. Owen
I'm trying to learn how to make a fairly efficient strip chart display and have run into a few glitches: The example strip_chart_demo.py is not annotated but does refer to a page Unfortunately that page does not exist. I suspect the desire

Re: [Matplotlib-users] Matplotlib 1.0 dateutils missing on MacOS X

2010-07-08 Thread Russell E. Owen
In article <0d8c04e1-e841-4f18-9887-ea0a76090...@gmail.com>, Edward Barnard wrote: > Hi All > > I had a problem installing matplotlib 1.0.0 on MacOS X 10.6 using python.org > 2.6.5 with the binary installer (dmg). When importing pylab, datautils was > missing. I fixed that by easy_installin

Re: [Matplotlib-users] Help Installing on Mac OS X

2010-07-08 Thread Russell E. Owen
In article , Shir Livne wrote: > Hi, > > I downloaded the files from the site, but when i type "import > matplotlib" in python, it responds with "ImportError: No module named > matplotlib" > > Does anyone mind going through the download steps for me? I probably > forgot something simple.

Re: [Matplotlib-users] matplotlib Mac binary that works with python.org python and older MacOS X?

2010-07-02 Thread Russell E. Owen
In article <4c2d2041.3040...@noaa.gov>, Christopher Barker wrote: > Russell E. Owen wrote: > > However, at present I don't know if there is a Python 2.6 that is both > > compatible with older versions of Mac OS X and is built with 64-bit > > support. > >

Re: [Matplotlib-users] matplotlib Mac binary that works with python.org python and older MacOS X?

2010-07-01 Thread Russell E. Owen
In article , "Russell E. Owen" wrote: > My binaries are presently named: > matplotlib-0.99.3-py2.5-macosx10.4-2010-06-30.dmg > matplotlib-0.99.3-py2.6-macosx10.4-2010-06-30.dmg > > The easy thing is to simply remove the date; the name then matches the > scheme u

Re: [Matplotlib-users] matplotlib Mac binary that works with python.org python and older MacOS X?

2010-07-01 Thread Russell E. Owen
In article , John Hunter wrote: > On Thu, Jul 1, 2010 at 12:56 PM, Christopher Barker > wrote: > > Russell E. Owen wrote: > >> I made binaries (on Mac OS X 10.5) using my instructions: > >> <http://www.astro.washington.edu/users/rowen/BuildingMatplotlibForM

Re: [Matplotlib-users] matplotlib Mac binary that works with python.org python and older MacOS X?

2010-07-01 Thread Russell E. Owen
In article , "Russell E. Owen" wrote: > I'm trying to find a matplotlib 0.99.3 binary installer that works with > the standard python.org Python (preferably 2.6) and hence works with Mac > OS X 10.4 or greater. (I distribute an application that needs to run on >

[Matplotlib-users] matplotlib Mac binary that works with python.org python and older MacOS X?

2010-06-30 Thread Russell E. Owen
I'm trying to find a matplotlib 0.99.3 binary installer that works with the standard python.org Python (preferably 2.6) and hence works with Mac OS X 10.4 or greater. (I distribute an application that needs to run on a wide range of versions of Mac OS X). The official binary I found refuses to

[Matplotlib-users] Agg complexity exceeded

2010-03-12 Thread Tornes, Ivan E
;, line 918, in _draw_solid renderer.draw_path(gc, path, trans) File "/usr/lib/pymodules/python2.6/matplotlib/backends/backend_agg.py", line 98, in draw_path self._renderer.draw_path(gc, path, transform, rgbFace) RuntimeError: Agg rendering co

[Matplotlib-users] resolution issues

2010-02-23 Thread Tornes, Ivan E
features of the curve vary in amplitude on resize of the plot window. Is there a built in solution to fix this? Ivan E. Tornes Ph.D. Battelle 505 King Avenue Columbus, OH 43201-2693 Phone:614-424-5165 Fax:614-458-5165

Re: [Matplotlib-users] matplotlib on mac os x question

2009-08-26 Thread Russell E. Owen
A few things: - What python and matplotlib are you using? I recommend Mac Python from python.org (use the binary installer) and the Mac binary installer for matplotlib. - Note that matplotlib 0.99.0 is current. I suggest you upgrade. - If you are using TkAgg (as seems likely), I'm not sure how

Re: [Matplotlib-users] _tkinter problem

2009-07-08 Thread Russell E. Owen
Your python is missing the _tkinter library, so it cannot use Tkinter. Normally if you build from source then all you have to do is build and install tcl and tk first, then build python and it should find the tcl/tk and build _tkinter (the library that links to Tcl/Tk and allows Tkinter to work

Re: [Matplotlib-users] Warning from pylab.plot on Linux

2009-03-31 Thread David E. Sigeti
Friends, Oops! "WXAgg" and "TkAgg" rather than "WXApp" and "TkApp", of course. I did say that I was just getting my bearings. Yours, David At 12:13 PM 3/31/2009, David E. Sigeti wrote: Dear Mike and Jouni, Since my post from yesterday, I hav

Re: [Matplotlib-users] Warning from pylab.plot on Linux

2009-03-31 Thread David E. Sigeti
ctive usability of Python and matplotlib as a replacement for Matlab. Anyone have any suggestions or observations? Yours, David Sigeti -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA --- Dr. David

Re: [Matplotlib-users] What would you like to see in a book about Matplotlib?

2009-01-05 Thread Russell E. Owen
In article <8b2d7b4d0901050152p4c7487a8m21fb7fb823297...@mail.gmail.com>, "Sandro Tosi" wrote: > Hello and Happy 2009! > > I received the interesting proposal to author a book on Matplotlib, > the powerful 2D plotting library for Python. > > While preparing the arguments list, I'd like to hea

Re: [Matplotlib-users] compiling from svn on windows

2008-03-21 Thread Wayne E. Harlan
Chris: I have used cygwin to compile numpy and scipy svn versions for win XP on my old athlon system. I believe the scipy site has some detailed instructions. However, I have done a lot of compiling on my linux system and so that part was easy (configure, make, make install, etc) I don't kn

[Matplotlib-users] Zorder Problem with twinx()

2008-03-05 Thread Wayne E. Harlan
First, I apologize for the long script. It's if anyone wants to see the issue first hand. The problem is that when I use twinx() to plot two different functions on the same axes, the legend from the first part is overwritten by the grid lines of the second part (after the twinx() statement).

Re: [Matplotlib-users] segfault with Tkagg

2008-02-27 Thread Wayne E. Harlan
I have had a similar problem here with python-2.5.1, numpy-1.0.4 and mpl-0.91.2 all installed on my linux (from scratch) system. I reported this last year but ending in a dead end with no one being able to help. My --verbose-debug_annoying output seemed to indicate it had something to do with

Re: [Matplotlib-users] dashes and dpi?

2008-02-02 Thread Wayne E. Harlan
Mark Bakker wrote: > Yet here you claim that 1pt = 1/72 inch. > Is that always the case? Kind of. This is a typesetting measurement originally having nothing to do with computers, displays or graphics files. However at Wikipedia they say its definition has changed over time. http://en.wikiped

Re: [Matplotlib-users] Subplot Questions

2008-01-31 Thread Wayne E. Harlan
Eric: I have never seen any software which dealt with non uniform DPI settings, although that is always a possibility. And all the displays I have ever worked on/with have been the same for both H and V. ( I am a display engineer with over 25 years experience in CRT displays and a bit in flat

Re: [Matplotlib-users] Subplot Questions

2008-01-30 Thread Wayne E. Harlan
Alan: The figure size determines the eventual size of the figure where it will be displayed. You should set that with "figsize=(x,y)" before you actually plot. Then, and very importantly, you should set the DPI for the medium where you are viewing the figure. A computer display will probabl

Re: [Matplotlib-users] Problem installing 0.91.2 egg on OS X 10.4

2008-01-14 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, "Charlie Moad" <[EMAIL PROTECTED]> wrote: > I have replaced the binary with a working version. I'm running into an odd issue with that version (at least). If I unzip the egg and run easy_install on it it ends up in site-packages with odd permissions: % pwd /Lib

Re: [Matplotlib-users] eggs or pythonmac packages on OS X?

2007-12-05 Thread Russell E Owen
At 10:03 AM -0800 2007-12-05, Christopher Barker wrote: >Russell E Owen wrote: >>At 10:08 AM -0500 2007-12-05, Stephen Uhlhorn wrote: >>>Just for my edification, why can't the egg version be linked >>>against/include a different Tcl/Tk? >> >>If you mean

Re: [Matplotlib-users] eggs or pythonmac packages on OS X?

2007-12-05 Thread Russell E Owen
At 10:08 AM -0500 2007-12-05, Stephen Uhlhorn wrote: >On Dec 4, 2007 5:14 PM, Russell E. Owen <[EMAIL PROTECTED]> wrote: > >> If you use Tcl/Tk and use a current version (instead of the ancient >> version that is built in) then use the packages at pythonmac. I just >&

Re: [Matplotlib-users] eggs or pythonmac packages on OS X?

2007-12-04 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, "Stephen Uhlhorn" <[EMAIL PROTECTED]> wrote: > I'm running MacPython 2.5 on Mac OS 10.5.1 and would like to update > matplotlib to 0.91.1. Im using mpl 0.90.1 from the pythonmac site now. > Is it better for me to wait till a pythonmac package is availabel or > a

Re: [Matplotlib-users] Margin are too wide

2007-10-17 Thread Wayne E. Harlan
First you should look at the axes() command with its arguments to control the boundaries of the plot area inside the figure. I always use this to maximize the use of the figure space. I'm not sure, though, whether this works with the kind of plot you want. Check it out. The other thing that

Re: [Matplotlib-users] Problem with .png files?

2007-10-08 Thread Wayne E. Harlan
gt; is shows up as 99.98 dpi in the GIMP. > > Cheers, > Mike > > Michael Droettboom wrote: >> I'll look into this. I actually made a similar fix on another >> project I used to work on... It should be theoretically possible, >> barring any roadblocks fro

Re: [Matplotlib-users] Problem with .png files?

2007-10-07 Thread Wayne E. Harlan
I would like to follow up on my first response to Bill. It probably should be a new thread, but I'll start here. When png files are saved with a DPI=300 argument, and I open them in the Gimp, the dpi is only 72 (default ?). As I understand it, the dpi setting in the graphics file tells the a

Re: [Matplotlib-users] Problem with .png files?

2007-10-07 Thread Wayne E. Harlan
Bill: I do not have that problem using mpl-0.90.1 or svn which I checked out and installed yesterday. I have gimp-2.2.17 and have no problems opening them on my linux system or my two XP systems at work. The issue I do find is that when I specify the DPI in the savefig command, it does not p

[Matplotlib-users] [Fwd: Re: CVS ?]

2007-10-06 Thread Wayne E. Harlan
Eric Firing wrote: > The TkAgg backend works on my system, stock ubuntu feisty with only > numpy and mpl from svn. tk/tcl is 8.4. > > Eric > Eric: My processor is a 32 bit Athlon from about 5 or 6 years ago. The Tkinter was built along with python and I did one particular sed: sed -i 's|#

Re: [Matplotlib-users] CVS ?

2007-10-03 Thread Wayne E. Harlan
well-tested together, at least for simple > plotting. > > That tends to throw suspicion on Tkinter/Tk/Tcl or one of mpl's > extension bits that is run with Tk. I'm not sure there are any in > this case. > > One way to narrow it down is to try another gui: gtk or q

Re: [Matplotlib-users] CVS ?

2007-10-03 Thread Wayne E. Harlan
Eric Firing wrote: Wayne, I'm stumped. Do you get a segfault only with the gui backend? Can you you do this: import matplotlib matplotlib.use('Agg') import pylab pylab.plot([1,2,3]) pylab.savefig('test.png') Eric OK, this worked. I have attached the test,png file that resulted. But

Re: [Matplotlib-users] CVS ?

2007-10-02 Thread Wayne E. Harlan
Eric Firing wrote: If a straightforward plotting sequence, such as one of the examples, does this, then it sounds like a broken installation, not a matplotlib bug. Based on your comment above, here are my particulars: 1) System is LinuxFromScratch recently built from their SVN book:

[Matplotlib-users] CVS ?

2007-10-01 Thread Wayne E. Harlan
I have a serious problem with my Linux installation of matplotlib. It segfaults after a very brief display of a plot window outline (no actual plot within it). Before presenting the details of my problem, I would like to download the latest CVS version to make sure this hasn't been fixed alre

[Matplotlib-users] matplotlib 0.90.1 binary installer for Mac

2007-06-04 Thread Russell E. Owen
I've built a binary installer for matplotlib 0.90.1 for Mac that includes support for: - TkAgg that works with a user-installed Aqua Tcl/Tk (unlike the standard build) or the standard old Tcl/Tk from Apple - WXAgg using wxPython 2.8. I've only checked WXAgg and TKAgg on my PPC Mac. If anyone cou

Re: [Matplotlib-users] Anyone using TkAgg on OS X successfully

2007-05-07 Thread Russell E Owen
At 2:30 PM -0600 2007-05-07, Samuel M. Smith wrote: >If you see my other post titled (Segmentation Fault TkAgg backend). >I was getting a seg fault >It appears to be a problem with the MPL in the scipy superpack. When >I reinstalled your package it >worked again. The reason I installed the scipy

Re: [Matplotlib-users] Anyone using TkAgg on OS X successfully

2007-05-07 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, "Samuel M. Smith" <[EMAIL PROTECTED]> wrote: > Anyone using TkAgg on OSX 10.4 with MPL 0.90.0 and Python 2.5 > successfully? Absolutely. I use the package at (which I also built). One quirk is that I use ActiveState Aqua Tcl/T

Re: [Matplotlib-users] Intermittent Matplotlib crash on OS X

2007-02-21 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Anand Patil <[EMAIL PROTECTED]> wrote: > >>Matplotlib occasionally crashes Python at the end of a long program on > >>my powerbook g4 running OS X 10.4. gdb output follows: > >> ... > It's Python 2.5, and the new Matplotlib 0.9 built from source. I saw the > same

Re: [Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-21 Thread Russell E Owen
At 9:42 AM -0800 2007-02-21, Chris Barker wrote: >Russell E Owen wrote: > >>I did earlier today; I'm hoping it will go up in the next day or so. >> >>WXAgg is built against wxPython 2.6.x because last I heard the >>2.8.x issues weren't resolved. > >

Re: [Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-20 Thread Russell E Owen
At 4:48 PM -0700 2007-02-20, Samuel M. Smith wrote: >On Feb 20, 2007, at 14:47 , Russell E Owen wrote: > >>> >>>In the past the distributions were a little more user friendly for >>>installing. >>>I know I can't complain too much since you are do

[Matplotlib-users] broken download links

2007-02-20 Thread Russell E Owen
If I go to the matplotlib download page: then there is a table showing "matplotlib" and "matplotlib-toolkits". Clicking on "Download" or "matplotlib-0.90.0" results in a page with no files. On the other hand, clicking on "matplotlib"

Re: [Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-20 Thread Russell E Owen
At 2:33 PM -0700 2007-02-20, Samuel M. Smith wrote: >>>Shouldn't the version of wxPython also get included in the name along >>>with the python version and os version? >> >>That information is in the ReadMe file in the installer. > >I will try to remember to look there in the future to know which w

Re: [Matplotlib-users] Intermittent Matplotlib crash on OS X

2007-02-20 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Anand Patil <[EMAIL PROTECTED]> wrote: > Hi all, > > Matplotlib occasionally crashes Python at the end of a long program on > my powerbook g4 running OS X 10.4. gdb output follows: > > Program received signal EXC_BAD_ACCESS, Could not access memory. > Reason: KE

Re: [Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-20 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, "Samuel M. Smith" <[EMAIL PROTECTED]> wrote: > > > >> which versions of wxPython are supported? > > > > I haven't tried the new one, but the last release worked well with > > wxPython2.6.3, but had some issues with 2.8.* -- I don't think anyone > > has addressed

Re: [Matplotlib-users] problem with show()

2007-02-05 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Chiara Caronna <[EMAIL PROTECTED]> wrote: > I, > I have a problem with showing plot. When I run this code: > > figure(1) > semilogx(data[:,0],data[:,1]) > savefig('try.png') > show() > > > It save the plot properly, but it doesn't show it. I tried to run it > wi

Re: [Matplotlib-users] matplotlib can't find pygtk during build

2007-02-05 Thread Russell E Owen
At 9:42 AM -0800 2007-02-05, Christopher Barker wrote: >Stephen Uhlhorn wrote: >>My python is from ActiveState (Framework) which >>was recommended by the scipy people. > >>Here's the real saga. I had a working Fink installaiton of >>python/numpy/scipy/matplotlib until an update to scipy broke criti

Re: [Matplotlib-users] more outdated/unhelpful documentation and installation issues on Mac OS X 10.4

2006-12-11 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, belinda thom <[EMAIL PROTECTED]> wrote: > Hi again, > > At http://matplotlib.sourceforge.net/installing.html under topic OS X: > >"All of the backends run on OS X. Chris Barker has built a binary > package (fink users see below) for matplotlib which is host

Re: [Matplotlib-users] matplotlib on Mac OS X via Fink?

2006-11-15 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Lev Givon <[EMAIL PROTECTED]> wrote: > Received from Adam Mercer on Tue, Nov 14, 2006 at 03:55:15PM EST: > > On 14/11/06, Lev Givon <[EMAIL PROTECTED]> wrote: > > > > >I am also using Apple's X11 1.1.2 / Xfree86 4.4.0. Has anyone had any > > >success using the abo

[Matplotlib-users] plotting overlapped histograms

2006-11-13 Thread David E. Konerding
Hi folks, I'm interested in hearing some strategies for plotting two histograms on the same plot. My goal is to visualize and compare two distributions which have similar shapes. My first attempt was to use alpha, but this isn't well support on PS2 output driver (surprising) and I will be incl

Re: [Matplotlib-users] Any fix for wxAgg on Mac?

2006-11-09 Thread Russell E Owen
At 10:18 AM -0800 2006-11-09, Christopher Barker wrote: >Russell and Charlie, > >Are your two binaries any different? Any reason to choose one over >the other? In particular, which of these are supported: > >numpy 1.* >Numeric >numarray > >GTK >TK >wx (which version?) My binary supports: - numpy

Re: [Matplotlib-users] Any fix for wxAgg on Mac?

2006-11-08 Thread Russell E Owen
At 4:10 PM -0800 2006-11-08, Christopher Barker wrote: >I just tried to compile MPL with wxPython 2.7 -- and remembered why I >hadn't done it in a while -- I don't have Universal version of libpng >and libfreetype, and I don't know how to make or have the time to figure >it out. I would be happy t

[Matplotlib-users] How to build matplotlib with wx support

2006-11-08 Thread Russell E Owen
I build matplotlib 0.87.7 for Python 2.5 with support for TkAgg and WXAgg, the latter using the binary wxPython 2.7 installer from . Unfortunately, the matplotlib had a problem: WxAgg failed with: MemoryError: _wxagg.convert_agg_to_wx_bitmap(): could not create th

Re: [Matplotlib-users] Any fix for wxAgg on Mac?

2006-11-08 Thread Russell E Owen
At 2:38 PM -0800 2006-11-08, Christopher Barker wrote: >Russell E. Owen wrote: >>I reinstalled wxPython 2.7 from the package at pythonmac.org (to be >>paranoid). I'm using the Python 2.5 version. > >check > >>I got wx-config on my path and confirmed it's

[Matplotlib-users] Any fix for wxAgg on Mac?

2006-11-07 Thread Russell E. Owen
On Feb 25 Samuel Smith reported that WXAgg crashed on MacOS X using matplotlib 0.87. I just built matplotlib 0.87.7 on Python 2.5 and am still having the problem. Christopher Barker suggested disabling acceleration: import matplotlib.backends.backend_wxagg matplotlib.backends.backend_wxagg._use

  1   2   >