Re: [Matplotlib-users] Another question

2008-11-19 Thread Eric Firing
Mauro Cavalcanti wrote: > Dear ALL, > > Another (this time possibly quite silly) question: how can I make a > Basemap cover entirely the display area of the GUI backend (ie., > without the top, bottom, left, right spaces)? > > I tried something like: > > self.figure = Figure() > self.figure.subp

[Matplotlib-users] Another question

2008-11-19 Thread Mauro Cavalcanti
Dear ALL, Another (this time possibly quite silly) question: how can I make a Basemap cover entirely the display area of the GUI backend (ie., without the top, bottom, left, right spaces)? I tried something like: self.figure = Figure() self.figure.subplots_adjust(left=-0.01, bottom=-0.750, right

Re: [Matplotlib-users] Embedding Basemap in a wx app

2008-11-19 Thread John Hunter
I'm CC-ing the list, because Jeff Whitaker is the basemap developer, and he will probably want to add it to the basemap examples. Thanks for the contribution. On Wed, Nov 19, 2008 at 4:31 PM, Mauro Cavalcanti <[EMAIL PROTECTED]> wrote: > Dear John, > > It worked fine! > > Thank you very much for

Re: [Matplotlib-users] Scatter is slow to render many points

2008-11-19 Thread John Hunter
On Wed, Nov 19, 2008 at 8:56 AM, Gregory Desvignes <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm using matplotlib inside the backend_gtkagg with the scatter function > to draw a simple graph with 2 to 4 points. The points may have > only 2 differents sizes and 4 differents color depending

Re: [Matplotlib-users] Installation problem

2008-11-19 Thread John Hunter
On Wed, Nov 19, 2008 at 3:56 AM, domenico09 <[EMAIL PROTECTED]> wrote: > > I got the same problem on my portable(windowx XP) but not on my desk > top(windows XP) ! > I reinstalled python, numpy and matplotlib either from internet and from my > desk top (where things works well) but I got the same

Re: [Matplotlib-users] Embedding Basemap in a wx app

2008-11-19 Thread John Hunter
On Wed, Nov 19, 2008 at 2:31 PM, Mauro Cavalcanti <[EMAIL PROTECTED]> wrote: > Greetings. Trying to develop a desktop application for interactive > mapping using wxPython and Matplotlib, I have been doing some > experiments with embedding maps generated by the Basemap module into a > wxPython fram

Re: [Matplotlib-users] Import error on OS X: Reason: image not found

2008-11-19 Thread John Hunter
On Wed, Nov 19, 2008 at 3:06 PM, Katie Thomas <[EMAIL PROTECTED]> wrote: > Oh, I figured it out. It's not there. How do I reinstall the X11 dev I have some notes on how to install on OS X that covers this -- see http://ipython.scipy.org/moin/Py4Science/InstallationOSX The explanation on the

Re: [Matplotlib-users] Can't create graphs

2008-11-19 Thread John Hunter
On Wed, Nov 19, 2008 at 1:22 PM, Goyo <[EMAIL PROTECTED]> wrote: > Make sure yu're using a backend with a user interface. > > http://matplotlib.sourceforge.net/faq/installing_faq.html#what-is-a-backend Also, you can get more verbose input at runtime with the --verbose-helpful flag: > python histo

[Matplotlib-users] Histogram Examples

2008-11-19 Thread Ron Brennan
Hello, Does anyone know where I can find some histogram examples. The ones with the documentation are not as self-explanatory as I would have liked. I'm not a mathematician and I am struggling to understand the math behind the magic. Can anyone help? Thanks, Ron ---

Re: [Matplotlib-users] Import error on OS X: Reason: image not found

2008-11-19 Thread Katie Thomas
Oh, I figured it out. It's not there. How do I reinstall the X11 dev tools? On Nov 19, 2008, at 3:57 PM, Joshua Lippai wrote: Could you try just typing "cd /usr", then "ls" and checking what folders are in there? Is there an X11 folder in there at all? Josh On Wed, Nov 19, 2008 at 12:53 P

Re: [Matplotlib-users] Import error on OS X: Reason: image not found

2008-11-19 Thread Katie Thomas
So I have downloaded matplotlib I'm sure, but when I type "cd /usr/ X11R6/lib" into the terminal is says "no such file or directory." Do you know what this means? Thanks for all your help, Katie On Nov 19, 2008, at 3:49 PM, Joshua Lippai wrote: The sensitive root folders (like /usr) are hidden

Re: [Matplotlib-users] Import error on OS X: Reason: image not found

2008-11-19 Thread Joshua Lippai
Note: If you don't have X11 installed at all (not just the dev tools, but not even X11 itself, which would mean you're running something pre_leopard I assume), you can install this as one of the optional components of your OS X install disc. Josh On Wed, Nov 19, 2008 at 1:11 PM, Joshua Lippai <[E

Re: [Matplotlib-users] Import error on OS X: Reason: image not found

2008-11-19 Thread Joshua Lippai
Either way, the problem is that matplotlib is trying to access a file somewhere that doesn't exist (and needs to exist). Make sure you have X11 installed on the computer (simple spotlight search should turn up the app frontend), and then install the X11 package from Apple's Xcode developer tools (a

Re: [Matplotlib-users] Import error on OS X: Reason: image not found

2008-11-19 Thread Christopher Barker
Joshua Lippai wrote: > If you're not comfortable with Terminal: > > -Open a Finder window > -From the menubar, click Go -> Go to Folder... You can also re-set finder to show you the hidden dirs -- I always have mine set up that way. The easiest way is to use a utility called "TinkerTool", but

Re: [Matplotlib-users] Import error on OS X: Reason: image not found

2008-11-19 Thread Joshua Lippai
Could you try just typing "cd /usr", then "ls" and checking what folders are in there? Is there an X11 folder in there at all? Josh On Wed, Nov 19, 2008 at 12:53 PM, Katie Thomas <[EMAIL PROTECTED]> wrote: > So I have downloaded matplotlib I'm sure, but when I type "cd > /usr/X11R6/lib" into the

Re: [Matplotlib-users] Import error on OS X: Reason: image not found

2008-11-19 Thread Joshua Lippai
The sensitive root folders (like /usr) are hidden from the Finder so that it's hard for someone that doesn't know about them to accidentally delete/move something sensitive that's supposed to stay put. You can get around this easily either with Terminal or Finder itself. If you're comfortable with

Re: [Matplotlib-users] matplotlib egg finds wrong version of numpy

2008-11-19 Thread Christopher Barker
Jeff Mangum wrote: >> BUILDING MATPLOTLIB >> matplotlib: 0.98.3 >> python: 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) [GCC >> 4.0.1 (Apple Inc. build 5465)] >> platform: darwin You'll need to get easy_install to use the right Python

[Matplotlib-users] Embedding Basemap in a wx app

2008-11-19 Thread Mauro Cavalcanti
Dear ALL, Greetings. Trying to develop a desktop application for interactive mapping using wxPython and Matplotlib, I have been doing some experiments with embedding maps generated by the Basemap module into a wxPython frame. Although there are many nice exemples of using Matplotlib graphs in wxW

Re: [Matplotlib-users] Import error on OS X: Reason: image not found

2008-11-19 Thread Joshua Lippai
It appears that matplotlib is having trouble finding the freetype dynamic lib in your /usr/X11R6/lib folder when it references it. I'd check that folder to see if the dylib is there. If it isn't, reinstall the X11 dev tools. If it is, something is wrong with the dynamic lib opening, so I'd recommen

Re: [Matplotlib-users] Can't create graphs

2008-11-19 Thread Goyo
Make sure yu're using a backend with a user interface. http://matplotlib.sourceforge.net/faq/installing_faq.html#what-is-a-backend El mié, 19-11-2008 a las 10:49 -0500, Ron Brennan escribió: > Hello, > > I am completely new to Matplotlib. I can't seem to get my script (a > copy and paste from a

Re: [Matplotlib-users] Bug saving semilogy plots with a axvline

2008-11-19 Thread Eric Firing
wafels wrote: > Hello, > > I can confirm and extend this bug report. The axvline also moves to the > wrong position on resizing the matplotlib display window (Mac OS X 10.5.5, > Python 2.5.1, Matplotlib 0.98.3). > > Thanks It looks like the transform for the line made by axvline is not getting

Re: [Matplotlib-users] Installation problem

2008-11-19 Thread Frank Lagor
On Wed, Nov 19, 2008 at 4:52 AM, <[EMAIL PROTECTED]> wrote: > > Frank Lagor wrote: >> >> Hi, >> >> I am sorry to bug you all with an installation problem, but I need >> some additional help to get this figured out. >> >> I previously had a matplotlib installed and working fine, but it was >> neces

[Matplotlib-users] Import error on OS X: Reason: image not found

2008-11-19 Thread Yang Zhang
Hi, does anybody know why I'm getting this error importing pylab? Thanks in advance! Traceback (most recent call last): File "/Users/Kates/Documents/ps11.py", line 9, in from pylab import * File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pylab.py",

[Matplotlib-users] Can't create graphs

2008-11-19 Thread Ron Brennan
Hello, I am completely new to Matplotlib. I can't seem to get my script (a copy and paste from a Histogram example) to generate a graph. When I run my script, the command prompt returns. Is there something I am missing? # # histogram.py # import numpy as np import matplotlib.mlab as mlab import

Re: [Matplotlib-users] Bug saving semilogy plots with a axvline

2008-11-19 Thread wafels
Hello, I can confirm and extend this bug report. The axvline also moves to the wrong position on resizing the matplotlib display window (Mac OS X 10.5.5, Python 2.5.1, Matplotlib 0.98.3). Thanks João Luís Silva-2 wrote: > > Hi, > > A vertical line on the x axis of a semilogy plot will be i

[Matplotlib-users] Scatter is slow to render many points

2008-11-19 Thread Gregory Desvignes
Hi all, I'm using matplotlib inside the backend_gtkagg with the scatter function to draw a simple graph with 2 to 4 points. The points may have only 2 differents sizes and 4 differents color depending on some criteria and should be 'clickable'. The problem is that the plot rendering i

Re: [Matplotlib-users] Save a plot background

2008-11-19 Thread Jeff Whitaker
Hrafnkell Pálsson wrote: > > >> This will turn off the rendering of both the background rectangle as >> well as all the ticks and their associated labels, ticklines and >> gridlines. Perhaps Jeff can advise you vis-a-vis the basemap api what >> the equivalent is >> >> > > Ok, I tested your

Re: [Matplotlib-users] Save a plot background

2008-11-19 Thread Hrafnkell Pálsson
> This will turn off the rendering of both the background rectangle as > well as all the ticks and their associated labels, ticklines and > gridlines. Perhaps Jeff can advise you vis-a-vis the basemap api what > the equivalent is > Ok, I tested your example and see what you mean. But if I und

Re: [Matplotlib-users] Installation problem

2008-11-19 Thread domenico09
I got the same problem on my portable(windowx XP) but not on my desk top(windows XP) ! I reinstalled python, numpy and matplotlib either from internet and from my desk top (where things works well) but I got the same problem! thanks for any sugegstion Best Regards Domenico Frank Lagor wrote: >

[Matplotlib-users] complex labels

2008-11-19 Thread David Geller
Is it possible to easily create "complex labels", rather than simple strings? I would like each label to be a text block, composed of strings of various fonts and colors and relative positioning. Thanks! - This SF.Net emai

Re: [Matplotlib-users] API_CHANGES & MIGRATION.txt

2008-11-19 Thread John Hunter
On Wed, Nov 19, 2008 at 8:46 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > I have converted API_CHANGES to "reST-light", meaning most of the older > notes are just literal text blocks. Excellent, thanks. > MIGRATION.txt is mostly out of date (particularly the part about 0.98.x > being "blee

Re: [Matplotlib-users] API_CHANGES & MIGRATION.txt

2008-11-19 Thread Michael Droettboom
I have converted API_CHANGES to "reST-light", meaning most of the older notes are just literal text blocks. MIGRATION.txt is mostly out of date (particularly the part about 0.98.x being "bleeding edge"). The meat of its information (migrating from 0.91 to 0.98) is actually just a reference to

Re: [Matplotlib-users] API_CHANGES & MIGRATION.txt

2008-11-19 Thread Michael Droettboom
I'll go ahead and convert these. Cheers, Mike John Hunter wrote: > On Tue, Nov 18, 2008 at 3:41 AM, Benjamin Bardiaux <[EMAIL PROTECTED]> wrote: > >> Dear matplotlib users, >> >> I'l looking for the files >> >> http://matplotlib.sf.net/API_CHANGES >> http://matplotlib.sourceforge.net/MIGRATION