[Matplotlib-users] displaying only one colorbar...

2007-06-04 Thread fred
Hi, My issue is quite simple: I reload several times an image with the colorbar enabled, and thus, I have several colorbars, not only one. How can I disable this, and thus, get only one colorbar ? Cheers, -- http://scipy.org/FredericPetit --

[Matplotlib-users] Can't get pylab to work on OS X 10.4 - rcParams

2007-06-04 Thread Mark Thomas
Hi Just installed numpy, numarray, scipy and matplotlib. All work fine execpt pylab. When I try to import I get the following error message: >>> from pylab import * Traceback (most recent call last): File "", line 1, in File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/s

Re: [Matplotlib-users] 3d Bar Chart

2007-06-04 Thread Erik Wickstrom
Hi John, Ok- that makes sense. While on the subject of bar charts, can you tell me what I'm doing wrong here? def chart(request): from PIL import Image as PILImage from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure import Figure fro

Re: [Matplotlib-users] matplotlib 0.90.1 binary installer for Mac

2007-06-04 Thread Jochen Küpper
On 04.06.2007, at 23:19, Russell E. Owen wrote: I've only checked WXAgg and TKAgg on my PPC Mac. If anyone could test it on an Intel Mac I would be grateful. I have tested the MacPorts port of matplotlib 0.90.1 with GTKAgg on OS X Intel -- that works. Greetings, Jochen -- Einigkeit und R

[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] EPS images and MS Word

2007-06-04 Thread John Hunter
On 6/4/07, Dave Baum <[EMAIL PROTECTED]> wrote: > I have been looking at the problem of figures saved as EPS images not > printing correctly under from MS Word (an invalidrestore error is > generated). I believe that matplotlib is incorrectly creating the > EPS file. According to the DSC Spec (ht

Re: [Matplotlib-users] 3d Bar Chart

2007-06-04 Thread John Hunter
On 6/4/07, Erik Wickstrom <[EMAIL PROTECTED]> wrote: > I'm trying to create a 3d bar chart like the one attached for use in a > django site. I have no idea where to start. Is it even possible with > matplotlib? Not really, and this is by design I've intentionally avoided all of these power poi

[Matplotlib-users] EPS images and MS Word

2007-06-04 Thread Dave Baum
I have been looking at the problem of figures saved as EPS images not printing correctly under from MS Word (an invalidrestore error is generated). I believe that matplotlib is incorrectly creating the EPS file. According to the DSC Spec (http://partners.adobe.com/ public/developer/en/ps/5

[Matplotlib-users] 3d Bar Chart

2007-06-04 Thread Erik Wickstrom
Hi, I'm trying to create a 3d bar chart like the one attached for use in a django site. I have no idea where to start. Is it even possible with matplotlib? Thanks so much for your help! Erik <>- This SF.net email is sponso

Re: [Matplotlib-users] [Fwd: Re: Pie chart is "stretched"]

2007-06-04 Thread Erik Wickstrom
Hi John, I'm already using shadow=True - is it possible to increase the size of the shadow? I tried fig = figure(figsize=(6,6)) ax = fig.add_axes([0.05, 0.05, 0.9, 0.9], aspect='equal') figsize seems to change the size of the whole figure - I want a large chart, but less whitespace behind (tight

Re: [Matplotlib-users] input text and/or numbers on mpl figure

2007-06-04 Thread Matthias Michler
Hello everybody, I think I really understand what Christopher expresses with 'you'll get a much better result, and probably less pain'. But because I couldn't find such a prompt and I'm not familiar with wxpython, I tried to build up my own one (using matplotlib.widgets.button) and run into t

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

2007-06-04 Thread John Hunter
On 6/4/07, Werner F. Bruhin <[EMAIL PROTECTED]> wrote: > John Hunter wrote: > > matplotlib 0.90.1 is out and available for download from the sourceforge > > site. > > > Just installed it. Works very nicely with the exception of some font > issue. > > I am getting this: > Could not match Bitstream

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

2007-06-04 Thread Werner F. Bruhin
John Hunter wrote: > matplotlib 0.90.1 is out and available for download from the sourceforge site. > Just installed it. Works very nicely with the exception of some font issue. I am getting this: Could not match Bitstream Vera Serif, New Century Schoolbook, Century Schoolbook L, Utopia, ITC

Re: [Matplotlib-users] mouse events, get data and disconnect

2007-06-04 Thread Matthias Michler
Hello darkside, maybe the following little examples helps you with disconnecting: > from pylab import * def event_response(event): print event.name disconnect(cid) subplot(111) cid = connect('button_press_e

[Matplotlib-users] ANN: matplotlib-0.90.1

2007-06-04 Thread John Hunter
matplotlib 0.90.1 is out and available for download from the sourceforge site. The 0.90 release is the last release in which we will continue to use the numerix layer internally and build extensions for Numeric, numarray and numpy. Goingin forward, we will continue to provide the numerix compatib

Re: [Matplotlib-users] [Fwd: Re: Pie chart is "stretched"]

2007-06-04 Thread John Hunter
On 6/4/07, Erik Wickstrom <[EMAIL PROTECTED]> wrote: I didn't see Eric answer your "oblong" part of the question. To make it circular, use aspect='equal' ax = fig.add_subplot(111, aspect='equal') -Can I give it more of a 3d look? Like the pie charts in MS Word? enable shadow=True, eg pie(

Re: [Matplotlib-users] [Fwd: Re: Pie chart is "stretched"]

2007-06-04 Thread Erik Wickstrom
Thanks Eric! Some followup questions. -Can I give it more of a 3d look? Like the pie charts in MS Word? -How can I reduce the size of the canvas behind the chart? There is a lot of empty whitespace and I need to tighten up the margins as the graph will be displayed inline on an html page... -

Re: [Matplotlib-users] Basemap reuse

2007-06-04 Thread Jesper Larsen
On Friday 01 June 2007 18:52, Jeff Whitaker wrote: > Jesper: Here's a better way, that allows you to label the meridians and > parallels. It will only work for projection='cyl', although a similar > solution could be worked up for 'merc' and 'mill'. Thanks, I have implemented that solution. Th

Re: [Matplotlib-users] CXX type errors help

2007-06-04 Thread Jeff Whitaker
Stefan Kueppers wrote: > Hi all, > > I am a matplotlib novice and am having problems with imported floats > generated by a Perl script using the Maxmind Geo::IP library. > > I keep getting CXX TypeErrors which I can not seem to eliminate. > Any pointers for this novice please? > > I write files tha

[Matplotlib-users] CXX type errors help

2007-06-04 Thread Stefan Kueppers
Hi all, I am a matplotlib novice and am having problems with imported floats generated by a Perl script using the Maxmind Geo::IP library. I keep getting CXX TypeErrors which I can not seem to eliminate. Any pointers for this novice please? I write files that return longitude and latitude and th

[Matplotlib-users] signal processing chapter for book

2007-06-04 Thread Giorgio Luciano
first of all sorry for cross posting As I wrote some time ago we are trying to write a book proposal about the use of python/scipy/numpy in chemometrics and analytical chemistry. Since now I've received positive answer from eight authors and the only "missing" chapter is one about the use of pyt