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

2006-11-08 Thread Charlie Moad
> >Otherwise, Charlie Moad was building binaries -- I wonder what's > >become of him? Been busy... ;) I posted the mac binaries last night. - Using Tomcat but need to do more? Need to support web services, security? Get stuf

Re: [Matplotlib-users] Removing a line from a plot

2006-11-08 Thread Pierre GM
> I have a GUI written in wxPython, the main portion of it is a > matplotlib canvas. There is a tree control on the left with > checkboxes: if the user checks a checkbox, I add a line on the plot. > So far so good. The problem comes when the user *un-checks* the > checkbox. I would like to remove

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 the right one (see >>below for details). >

[Matplotlib-users] Removing a line from a plot

2006-11-08 Thread Andrea Gavana
Hi NG, I posted this question few months ago and I didn't receive any answer, so I'll try to rephrase my problem. I have a GUI written in wxPython, the main portion of it is a matplotlib canvas. There is a tree control on the left with checkboxes: if the user checks a checkbox, I add a line o

[Matplotlib-users] cannot savefig to cStringIO

2006-11-08 Thread Glen W. Mabey
Hello! I'm dynamically dishing out plots via matplotlib through a web server, so I really want to savefig to some type of memory object. Using both os.pipe and cStringIO objects, I get this type of error: In [9]:%history 1 : import matplotlib 2 : matplotlib.use('Agg') 3 : import pylab 4 : ax =

Re: [Matplotlib-users] axhspan with data-coord in x

2006-11-08 Thread John Hunter
> "Yannick" == Yannick Copin <[EMAIL PROTECTED]> writes: Yannick> Hi, I'd like to use axhspan, but specifying both y *and* Yannick> x extents in *data* units (by default, y is specified in Yannick> data units, and x in axes -- relative 0-1 -- units). How Yannick> should I proce

[Matplotlib-users] axhspan with data-coord in x

2006-11-08 Thread Yannick Copin
Hi, I'd like to use axhspan, but specifying both y *and* x extents in *data* units (by default, y is specified in data units, and x in axes -- relative 0-1 -- units). How should I proceed? I naively tried to play with gca().transAxes and so on, but I must admit I was utterly confused... Or sh

Re: [Matplotlib-users] unicode problem

2006-11-08 Thread Olivier Ravard
I am on windows with mpl 0.87.2. Seweryn Kokot wrote: > I can report the same problem with polish characters. Using WX and GTK it > works but when using WXAgg or GTKAgg it doesn't. > I wrote about this problem some time ago on this group but no > response. > So we are two. > I can add that the pr

Re: [Matplotlib-users] unicode problem

2006-11-08 Thread Seweryn Kokot
I can report the same problem with polish characters. Using WX and GTK it works but when using WXAgg or GTKAgg it doesn't. I wrote about this problem some time ago on this group but no response. So we are two. I can add that the problem ocurrs in mpl 0.87.5 (debian sid) and not in mpl 0.87.2 (deb

[Matplotlib-users] unicode problem

2006-11-08 Thread Olivier Ravard
Hi everybody, I try to make a plot using chineese strings (unicode). The folowing code works : # -*- coding: utf-8 -*- import matplotlib matplotlib.use('WX') import pylab as p p.plot((1,2,3)) p.xlabel( '是最好的編程語言') p.text(0.5,1.5,u'éçè') p.show() But the same code using WxAgg or TkAgg does not w

[Matplotlib-users] Matplotlib ate my real numbers?

2006-11-08 Thread yardbird
Hello, I have a very weird problem with matplotlib and reals. Before starting to explain please let me apologize, I'm a newbie in Python and I suspect I'm doing something horribly wrong. I have exposed in Python a C++ class with Boost::Python (in the form of a shared object). This class (among