Re: [matplotlib-devel] Cairo backend prospects

2007-01-11 Thread Steve Chaplin
On Mon, 2007-01-08 at 11:24 -0500, Darren Dale wrote: > I only had a short time to work with backend_gtkcairo, but a couple of things > caught my attention. mathtext support seemed to need some improvement, it > looked like it was rendered as an image rather than as text. Also, > imshow(rand(10

Re: [matplotlib-devel] Cairo backend prospects

2007-01-11 Thread John Hunter
> "Darren" == Darren Dale <[EMAIL PROTECTED]> writes: Darren> I had to alter the following lines from backend_gtkcairo, Darren> from Darren> import matplotlib.backends.backend_cairo as be_cairo from Darren> matplotlib.backends.backend_gtk import * Darren> "/usr/lib64/pyt

Re: [matplotlib-devel] Cairo backend prospects

2007-01-11 Thread John Hunter
> "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes: Steve> On Mon, 2007-01-08 at 11:24 -0500, Darren Dale wrote: >> I only had a short time to work with backend_gtkcairo, but a >> couple of things caught my attention. mathtext support seemed >> to need some improvement, it l

Re: [matplotlib-devel] Cairo backend prospects

2007-01-11 Thread Darren Dale
On Thursday 11 January 2007 09:42, John Hunter wrote: > > "Darren" == Darren Dale <[EMAIL PROTECTED]> writes: > > Darren> I had to alter the following lines from backend_gtkcairo, > Darren> from > > Darren> import matplotlib.backends.backend_cairo as be_cairo from > Darren> matp

Re: [matplotlib-devel] Cairo backend prospects

2007-01-11 Thread Peter Wang
On Jan 11, 2007, at 12:55 AM, Steve Chaplin wrote: >> I have never run into a problem with relative imports, though I don't >> object to removing them. Why are they bad style and what is the >> danger? > > Its because you can unwittingly end up with module name clashes. There > can be two diffe

Re: [matplotlib-devel] Cairo backend prospects

2007-01-11 Thread Steve Chaplin
On Thu, 2007-01-11 at 08:50 -0600, John Hunter wrote: > > "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes: > > Steve> On Mon, 2007-01-08 at 11:24 -0500, Darren Dale wrote: > >> I only had a short time to work with backend_gtkcairo, but a > >> couple of things caught my attentio

Re: [matplotlib-devel] Cairo backend prospects

2007-01-11 Thread John Hunter
> "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes: Steve> This is the official definition from the manual: Steve> CAIRO_FORMAT_ARGB32 each pixel is a 32-bit quantity, with Steve> alpha in the upper 8 bits, then red, then green, then Steve> blue. The 32-bit quantities are sto

Re: [matplotlib-devel] Cairo backend prospects

2007-01-11 Thread Darren Dale
On Thursday 11 January 2007 02:01, Fernando Perez wrote: > On 1/10/07, Steve Chaplin <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-01-08 at 11:24 -0500, Darren Dale wrote: > > > "/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_gtkcair > > >o.py", line 11, in ? > > > import matplotl

Re: [matplotlib-devel] [Matplotlib-users] matplotlib-0.87.7 Build Failure -- Part I

2007-01-11 Thread Rich Shepard
On Thu, 11 Jan 2007, Rich Shepard wrote: > When I ran the script with -dWXAgg, it segfaulted. But, when I run with -dWX, it completes and displays the plot. Ergo, there's something wrong with Agg here, I suppose. Thanks, Rich -- Richard B. Shepard, Ph.D. |The Environment

Re: [matplotlib-devel] Cairo backend prospects

2007-01-11 Thread Darren Dale
On Thursday 11 January 2007 16:12, Darren Dale wrote: > $ ipython > > In [1]: __import__('matplotlib.backends.backend_ps', globals(),\ > locals(),['backend_ps']) > > output: > --- > exceptions.AttributeError

Re: [matplotlib-devel] Cairo backend prospects

2007-01-11 Thread Steve Chaplin
On Thu, 2007-01-11 at 09:56 -0600, John Hunter wrote: > > "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes: > Steve> This is the official definition from the manual: > Steve> CAIRO_FORMAT_ARGB32 each pixel is a 32-bit quantity, with > Steve> alpha in the upper 8 bits, then red, t

Re: [matplotlib-devel] [Matplotlib-users] matplotlib-0.87.7 Build Failure -- SOLVED

2007-01-11 Thread Rich Shepard
On Thu, 11 Jan 2007, John Hunter wrote: > Hmm, what version of wx are you using? Charlie Moad wrote some > extension code to make the transfer from agg to the wx canvas more > efficient. This looks like the module in question. Can you John, et al.: Running 0.87.7 on my Slackware-11.0 box d