[Matplotlib-users] Colored bitmaps with MathTextParser

2010-04-28 Thread Cédrick FAURY
Hello, Is it possible to get colored bitmaps (instead of black ones) with the MathTextParser when it is used as shown in the mathtext_wx.py example ?? Thanks by advance for your help. Best regards, Cédrick FAURY -- _

Re: [Matplotlib-users] linestyles in LineCollection

2010-04-28 Thread Carlos Grohmann
Here. I found out that if I use from pylab import * as in the example, it works. But in my app, I'm using import wx import matplotlib from matplotlib.figure import Figure from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas from matplotlib.backends.backend_wxagg impo

[Matplotlib-users] Incompatibility with axvspan and legend on a semilog plot

2010-04-28 Thread Shrividya Ravi
Hi all, I am having a problem having both a vspan and a legend in a figure plotted on a semilog axis. A simple code that gives the following error is shown in red: ERROR return self.frozen().__array__() File "/usr/lib/pymodules/python2.6/matplotlib/transforms.py", line 1051, in __array__

Re: [Matplotlib-users] Help with Colormaps

2010-04-28 Thread Geoff Sims
Thanks Jervis, I was able to get it to work! Geoff On 29 April 2010 09:09, Jervis Whitley wrote: > > > On Thu, Apr 29, 2010 at 9:00 AM, Geoff Sims wrote: > >> Hi there, >> >> I've been spending hours trying to get the colormaps to work, and I am >> still having no luck. All the examples I h

Re: [Matplotlib-users] Help with Colormaps

2010-04-28 Thread Jervis Whitley
On Thu, Apr 29, 2010 at 9:00 AM, Geoff Sims wrote: > Hi there, > > I've been spending hours trying to get the colormaps to work, and I am > still having no luck. All the examples I have found seem to use imshow() > rather than the figure() and plot(). This is a very simple thing I am > trying t

[Matplotlib-users] Help with Colormaps

2010-04-28 Thread Geoff Sims
Hi there, I've been spending hours trying to get the colormaps to work, and I am still having no luck. All the examples I have found seem to use imshow() rather than the figure() and plot(). This is a very simple thing I am trying to do, a 2D x-y plot, with z values represented by a color. Basi

Re: [Matplotlib-users] Transparent figures no longer working

2010-04-28 Thread Eric Firing
T J wrote: > On Mon, Apr 26, 2010 at 12:28 PM, T J wrote: >> On Mon, Apr 26, 2010 at 12:01 PM, Jae-Joon Lee wrote: >>> Looking at the code, the "transparent" option set alphas of paches to >>> 0, which I think is simply ignored in ps backend (which does not >>> support alpha). I think it is bette

Re: [Matplotlib-users] python make.py html failure in r8281

2010-04-28 Thread Michael Droettboom
That file was renamed in r8202: http://www.mail-archive.com/matplotlib-check...@lists.sourceforge.net/msg04371.html But that shouldn't impact building of the docs (it doesn't for me). Have you tried doing a "python make.py clean"? Mike Nils Wagner wrote: > /home/nwagner/local/lib64/python2

[Matplotlib-users] python make.py html failure in r8281

2010-04-28 Thread Nils Wagner
/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/sphinxext/plot_directive.py:300: PlotWarning: Exception running plot /home/nwagner/svn/matplotlib/doc/mpl_examples/pylab_examples/fig_subplot_demo.py Traceback (most recent call last): File "/home/nwagner/local/lib64/python2.6/site

Re: [Matplotlib-users] Transparent figures no longer working

2010-04-28 Thread T J
On Mon, Apr 26, 2010 at 12:28 PM, T J wrote: > On Mon, Apr 26, 2010 at 12:01 PM, Jae-Joon Lee wrote: >> Looking at the code, the "transparent" option set alphas of paches to >> 0, which I think is simply ignored in ps backend (which does not >> support alpha). I think it is better if the visibili

[Matplotlib-users] SciPy 2010: Talks Announced

2010-04-28 Thread Amenity Applewhite
Email not displaying correctly? View it in your browser. Hello, As summer approaches, plans for SciPy 2010 are coming into focus! Here are a few quick updates: General conference talks announced Thanks so much to everyone who submitted an abstract. We received a number of fantastic proposa

Re: [Matplotlib-users] Publication quality plots in papers

2010-04-28 Thread Jonathan Stickel
Seems like this thread is a bit off topic now, but I'll chime in anyway. When I co-write a paper with latex users, I use latexdiff: http://www.ctan.org/tex-archive/support/latexdiff/ When I need reviews from non-latex users (e.g. my boss), I have them markup a PDF by hand or via pdf markup so

Re: [Matplotlib-users] bug in ContourSet and additional kwargs

2010-04-28 Thread Matthias Michler
On Wednesday 28 April 2010 09:21:54 Eric Firing wrote: > Matthias Michler wrote: > [...] > > > First of all I think my previously described error in the over-color is > > due to a bug in the set up of the colors.ListedColormap during the > > initialisation of ContourSet if 'self.colors' is not None

Re: [Matplotlib-users] version of numpy for matplotlib: wrong test in setupext.py

2010-04-28 Thread Michael Droettboom
Darren Dale wrote: > On Wed, Apr 28, 2010 at 7:13 AM, Eric Emsellem wrote: > >> Hi >> >> I just downloaded numpy 2.0 and there is a test in the setupext.py of >> matplotlib >> which says: >> >> nn = numpy.__version__.split('.') >> if not (int(nn[0]) >= 1 and int(nn[1]) >= 1): >> >> Thi

Re: [Matplotlib-users] linestyles in LineCollection

2010-04-28 Thread Michael Droettboom
I can't reproduce the error on 0.99. Can you provide a complete script that reproduces the error? Mike Carlos Grohmann wrote: > I've been trying to change the linestyles in a LineCollection, but > without any success... > > If I'm using: > col = collections.LineCollection(listXY, linewidths=cir

Re: [Matplotlib-users] version of numpy for matplotlib: wrong test in setupext.py

2010-04-28 Thread Darren Dale
On Wed, Apr 28, 2010 at 7:13 AM, Eric Emsellem wrote: > Hi > > I just downloaded numpy 2.0 and there is a test in the setupext.py of > matplotlib > which says: > >     nn = numpy.__version__.split('.') >     if not (int(nn[0]) >= 1 and int(nn[1]) >= 1): > > This clearly does NOT work for numpy 2.

[Matplotlib-users] version of numpy for matplotlib: wrong test in setupext.py

2010-04-28 Thread Eric Emsellem
Hi I just downloaded numpy 2.0 and there is a test in the setupext.py of matplotlib which says: nn = numpy.__version__.split('.') if not (int(nn[0]) >= 1 and int(nn[1]) >= 1): This clearly does NOT work for numpy 2.0.0 since nn[1] is 0 Please change this. Eric -

[Matplotlib-users] plotting once, but two labels in legend?

2010-04-28 Thread David Epstein
Hi folks, I'm trying to generate a single legend for a matrix of subplots. The larger script uses the "tabular" module. I was not able to do a legend that fit correctly, so I'm creating one in another figure. I'm plotting again, but the point is just to create labels and line styles. I'm sure the

Re: [Matplotlib-users] bug in ContourSet and additional kwargs

2010-04-28 Thread Eric Firing
Matthias Michler wrote: [...] First of all I think my previously described error in the over-color is due to a bug in the set up of the colors.ListedColormap during the initialisation of ContourSet if 'self.colors' is not None. For the number of entries in the map 'N' the number of layers is pa