Re: [Matplotlib-users] Savefig('file.pdf') error with latex custom font

2008-10-22 Thread Jouni K . Seppänen
"David Krapohl" <[EMAIL PROTECTED]> writes: > I am getting an error with savefig and pdf when I try to used matplotlib > with latex font rendering (attached below). In etc/matplotlibrc, I set > text.latex.preamble : \usepackage{MinionPro}, > \renewcommand{\sfdefault}{Myriad-LF} > It seems that the

[Matplotlib-users] dynamic basemap

2008-10-22 Thread John [H2O]
Hello, I'm creating a web application that will take user input from a javascript map to give me bounding coordinates (i.e. urcrnrlat, urcrnrlon, llcrnrlat, llcrnrlon) and possibly a switch for polar projection. Other than that I have no further information. Which projection is the most suitable

[Matplotlib-users] Savefig('file.pdf') error with latex custom font

2008-10-22 Thread David Krapohl
Hello, I am getting an error with savefig and pdf when I try to used matplotlib with latex font rendering (attached below). In etc/matplotlibrc, I set text.latex.preamble : \usepackage{MinionPro}, \renewcommand{\sfdefault}{Myriad-LF} It seems that the dviread backend does not find a specific *.vf,

Re: [Matplotlib-users] savefig to StringIO and import into PIL

2008-10-22 Thread Michael Droettboom
Jesper Larsen wrote: > Hi mpl users, > > I am trying to save a figure to a file like object (a StringIO object) > and load this object into PIL (Python Imaging Library). The code for > this is really simple (fig is my figure object): > > # This works > fig.savefig('test.png', format='png') > im = I

[Matplotlib-users] savefig to StringIO and import into PIL

2008-10-22 Thread Jesper Larsen
Hi mpl users, I am trying to save a figure to a file like object (a StringIO object) and load this object into PIL (Python Imaging Library). The code for this is really simple (fig is my figure object): # This works fig.savefig('test.png', format='png') im = Image.open('test.png') # This fails i

Re: [Matplotlib-users] ANN: matplotlib website 1.0

2008-10-22 Thread John Hunter
On Wed, Oct 22, 2008 at 1:38 PM, Anthony Floyd <[EMAIL PROTECTED]> wrote: > On Wed, Oct 22, 2008 at 11:00 AM, Michael Droettboom <[EMAIL PROTECTED]> > wrote: >> Some of the documentation has not yet been reformatted to reST for Sphinx. >> >> There is a status page here: >> >> http://matplotlib.sou

Re: [Matplotlib-users] ANN: matplotlib website 1.0

2008-10-22 Thread Anthony Floyd
On Wed, Oct 22, 2008 at 11:00 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Some of the documentation has not yet been reformatted to reST for Sphinx. > > There is a status page here: > > http://matplotlib.sourceforge.net/devel/outline.html Ah, thanks! [snip] > As to whether we provide the

Re: [Matplotlib-users] ANN: matplotlib website 1.0

2008-10-22 Thread Michael Droettboom
Some of the documentation has not yet been reformatted to reST for Sphinx. There is a status page here: http://matplotlib.sourceforge.net/devel/outline.html (And I'm embarrassed to note that I'm slated to update the ticker module... ;) As to whether we provide the old docs in parallel -- I'll

Re: [Matplotlib-users] ANN: matplotlib website 1.0

2008-10-22 Thread Anthony Floyd
While I like the redesign (and Sphinx in general), it seems some information has gone missing, particularly with regards to the API documentation. For example, ticker.py has a tonne of useful information in the docstring about how to set up formatters and tickers. For some reason I just cannot fi

Re: [Matplotlib-users] How to use the set_clip_path with the imshow function

2008-10-22 Thread Federico Milano
Dear Mike, thanks a lot for the information. Best wishes, Federico Michael Droettboom wrote: > Unfortunately, clip paths are not implemented for the Agg backend. > Other backends (Ps, Pdf, Svg) may work, but I haven't tried that in a > while. > > I've spent a few tries trying to come up wi

Re: [Matplotlib-users] How to use the set_clip_path with the imshow function

2008-10-22 Thread Michael Droettboom
Unfortunately, clip paths are not implemented for the Agg backend. Other backends (Ps, Pdf, Svg) may work, but I haven't tried that in a while. I've spent a few tries trying to come up with the magic Agg incantation to make this work. It's not really documented in Agg, but it should theoretic

[Matplotlib-users] How to use the set_clip_path with the imshow function

2008-10-22 Thread Federico Milano
Dear All, I am a new user of python and of matplotlib, so, please excuse me if I am asking a trivial question. I am trying to use the funciton imshow to plot a temperature map of the voltage levels of an electrical grid. After creating the grid data using "meshgrid" and "griddata" functions, "im

Re: [Matplotlib-users] multiple x axis

2008-10-22 Thread Anthony Floyd
On Wed, Oct 22, 2008 at 7:27 AM, Jeffrey Fogel <[EMAIL PROTECTED]> wrote: > I've having a problem creating multiple x-axis and I'm hoping someone > here will be able to help me. I have two directly correlated values > (z and N) that I am using as the independent variables. What I would > like to

Re: [Matplotlib-users] memory leak in basemap 0.98?

2008-10-22 Thread Jeff Whitaker
Mike Bauer wrote: > Jeff, > > Using Python 2.6 results in the following Deprecation Warnings: > > /usr/local/lib/python2.6/site-packages/pytz/tzinfo.py:5: > DeprecationWarning: the sets module is deprecated > from sets import Set > /usr/local/lib/python2.6/site-packages/httplib2/__init__.py:29:

[Matplotlib-users] 0.91 docs online?

2008-10-22 Thread Bartek Wilczynski
Hello, Are the docs for the maintenence release (0.91) available online? I cannot find them online anymore and it would be useful for people who are still using it. thanks Bartek P.S. I'm new to the list so it's a good opportunity to thank everyone involved for making matplotlib. It's really a

[Matplotlib-users] multiple x axis

2008-10-22 Thread Jeffrey Fogel
I've having a problem creating multiple x-axis and I'm hoping someone here will be able to help me. I have two directly correlated values (z and N) that I am using as the independent variables. What I would like to do is plot my data vs. N, but then show the corresponding z values on the top axis

[Matplotlib-users] small bug in slider_demo.py

2008-10-22 Thread Matthias Michler
Hello list, I observe a small bug in slider_demo.py, which lives in the svn folder /examples/widgets and can be accessed via http://matplotlib.sourceforge.net/_static/plot_directive/mpl_examples/widgets/slider_demo.py . The hovercolor for grey needs to be a string instead of a float. I attached

Re: [Matplotlib-users] Can't Import Pylab on XP - runtime error.

2008-10-22 Thread Dave_Evo
You need full administrator rights for pylab to work - power user status is not enough. got the following error when I tried to call in "From pylab import *" : Traceback (most recent call last): File "", line 1, in from pylab import * File "C:\Python25\Lib\site-packages\pylab.py", li

[Matplotlib-users] plans for data entry box widget?

2008-10-22 Thread Mark Bakker
Dear mpl developers - I recall there has been some discussion in the past on developing the ability to have a widget for entering data. I also recall that was not an easy thing to do. What's the current status? Doable? Thanks, Mark ps. The new website is really very nice! --