Re: [Matplotlib-users] TrueType font embedding in eps problem.

2008-01-18 Thread Michael Droettboom
I suspect an explicit conversion to str may be required on your configuration/platform. (I think you mentioned you were using Windows). Can you change line 592 of mathtext.py to read: font = FT2Font(str(basename)) and let me know if that fixes your problem? If so, I'll commit this to

Re: [Matplotlib-users] help?

2008-01-18 Thread Michael Droettboom
What version of matplotlib are you using? Unfortunately, I think this is a known issue in 0.90.1 that manifests itself most severely on Windows. If you still see it with 0.91.2, let us know and I'll probably want some more information from you. Cheers, Mike Jack Sankey wrote: Hello, I

Re: [Matplotlib-users] Cross hair and polygon drawing tools.

2008-01-18 Thread Michael Droettboom
It looks as if poly_editor is broken in 0.91.2 and the trunk. Is that your observation as well? This has been fixed in SVN (on both the trunk and the 0.91.x branch). On both versions, the line (that makes up the draggable markers) was never added to the axes, so it doesn't get a transform,

Re: [Matplotlib-users] Rotating data in graph and pick_event with Axes3D

2008-01-18 Thread Neil Crighton
Do you want to do a 3d plot? You can draw 3d plots and rotate them interactively using matplotlib.axes3d.Axes3D. Have a look at http://www.scipy.org/Cookbook/Matplotlib/mplot3D. Speaking of Axes3D, the picker=True keyword doesn't seem to work properly with the scatter3D function. Is it easy to

[Matplotlib-users] Adding Additional Graphics to a Pcolor or Pcolormesh Plot

2008-01-18 Thread Buz Barstow
Dear All, I'd like to annotate a pcolor or pcolormesh plot by adding boxes around sets of coordinates in the plot. Is there an easy way to do this? Thanks, and all the best, --Buz - This SF.net email is sponsored by:

Re: [Matplotlib-users] TrueType font embedding in eps problem.

2008-01-18 Thread Jordan Dawe
Michael Droettboom wrote: I suspect an explicit conversion to str may be required on your configuration/platform. (I think you mentioned you were using Windows). Indeed I am. Can you change line 592 of mathtext.py to read: font = FT2Font(str(basename)) and let me know if that fixes

[Matplotlib-users] Font problem on import of pylab

2008-01-18 Thread Berthold Höllmann
Hello, With matplotlib-0.91.2 as well as with the latest SVN version I get [EMAIL PROTECTED]:~ python -ic from matplotlib import pylab Found an unknown keyword in AFM header (was MetricsSets) Found an unknown keyword in AFM header (was IsBaseFont) Found an unknown keyword in AFM header (was

Re: [Matplotlib-users] help?

2008-01-18 Thread Jack Sankey
Hello again, Between my updating matplotlib and changing my figure refresh method from gcf().canvas.Refresh() to pylab.show(), my colorplots have stopped crashing (so far as I can tell). I've plotted maybe 50 straight with the same figure window *and* randomly slid my colorbar sliders around

Re: [Matplotlib-users] Cross hair and polygon drawing tools.

2008-01-18 Thread Michael Droettboom
Rob Hetland wrote: On Jan 18, 2008, at 7:00 PM, Michael Droettboom wrote: It looks as if poly_editor is broken in 0.91.2 and the trunk. Is that your observation as well? Yes. This has been fixed in SVN (on both the trunk and the 0.91.x branch). On both versions, the line (that

[Matplotlib-users] Creating Plots for Inclusion in ReportLab PDF

2008-01-18 Thread Rich Shepard
I'm hoping that someone's already addressed the need I have so I don't need to re-invent this wheel. But, if no one has a ready-made solution, I still need some expert advice in how to build this wheel myself. My python application uses the wxPython widget library, SQLite (using the

[Matplotlib-users] Rotating data in graph

2008-01-18 Thread Bryan Fodness
Is there an easy way to rotate the view of the data in a graph window without changing the axis and titles. I only need the option for 90, 180, and 270 degrees. The window will always be symmetric. Bryan -- The game of science can accurately be described as a never-ending insult to human

Re: [Matplotlib-users] Cross hair and polygon drawing tools.

2008-01-18 Thread Michael Droettboom
lasso_demo.py is working again on the trunk. The problem was not transforms related. The problem is in the way the colors were being updated after the markers were selected. On the trunk, the set of facecolors in a collection is stored as a numpy array for efficiency. This meant that the

Re: [Matplotlib-users] TrueType font embedding in eps problem.

2008-01-18 Thread Michael Droettboom
Jordan Dawe wrote: Michael Droettboom wrote: This is going to be a tricky one, particularly since I don't have access to Illustrator. All I know is the eps and pdf output of simple_plot.py looks fine for me in ghostscript, acroread, xpdf and evince. Even text select copy and paste works

Re: [Matplotlib-users] Cross hair and polygon drawing tools.

2008-01-18 Thread Rob Hetland
On Jan 18, 2008, at 7:00 PM, Michael Droettboom wrote: It looks as if poly_editor is broken in 0.91.2 and the trunk. Is that your observation as well? Yes. This has been fixed in SVN (on both the trunk and the 0.91.x branch). On both versions, the line (that makes up the draggable