[Matplotlib-users] Colored bitmaps with MathTextParser

2010-04-29 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

[Matplotlib-users] Text not showing up when I save a figure as EPS

2010-02-08 Thread Cédrick FAURY
Hello, When I save the figure as EPS, no text shows up. The problem occurs with the example embedding_in_wx2.py and when I use MSWord to show the eps file. Is it a problem with MSWord ?? Thanks by advance. Cédrick --

[Matplotlib-users] transData.transform on 'log' plot

2010-01-21 Thread Cédrick FAURY
Hello, When I try to use transData.transform on a log plot, an error occurs : ... File E:\Python26\lib\site-packages\matplotlib\transforms.py, line 1895, in transform self._a.transform(points)) File E:\Python26\lib\site-packages\matplotlib\transforms.py, line 1723, in transform

Re: [Matplotlib-users] MathTextParser, maxdict ... Assertion failed!

2009-10-18 Thread Cédrick FAURY
however, the following seems to work: mpl 0.98.5, wx 2.8.10.6, python 2.6.3 Are you able to update to Python 2.6? That might be one solution to the problem. I have to say I'm completely stumped as to the root cause of this one. Mike On 10/17/2009 08:44 AM, Cédrick FAURY wrote: Hello

[Matplotlib-users] Log scale produces unreadable svg files

2009-10-17 Thread Cédrick FAURY
Hello, If I add self.axes.set_xscale('log') after the line 38 of the example file embedding_in_wx2.py, and if I save the figure as svg, it produces an unreadable file. Nor Firefox neither Inkscape can read it. Is there a solution ? Cédrick

Re: [Matplotlib-users] MathTextParser, maxdict ... Assertion failed!

2009-10-17 Thread Cédrick FAURY
Hello, I restate the problem : With the attached script test_mathtext_wx.py : 50 functions (line 31) : the 50 bitmaps are generated correctly, by when I close the application an error appears in the console : Assertion failed: ob_refcnt == 0, file CXX\cxx_extensions.cxx, line 1128 This

[Matplotlib-users] How to setup zdata on Line3D ?

2009-10-13 Thread Cédrick FAURY
Hello, I can't find the way to change the zdata on a Line3D object. (mpl 99.1) I would like to use setp ... Thanks by advance Cédrick -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only

[Matplotlib-users] MathTextParser, maxdict ... Assertion failed!

2009-10-12 Thread Cédrick FAURY
Hello, I did an application that uses bitmaps constructed with MathTextParser as described in the example http://matplotlib.sourceforge.net/examples/user_interfaces/mathtext_wx.html (I work with Windows XP, python 2.5, Matplotlib 0.98.5 and wxPython 2.8.10.1) After making a lot of these

Re: [Matplotlib-users] MathTextParser, maxdict ... Assertion failed!

2009-10-12 Thread Cédrick FAURY
Thank you for responding so quickly !! I don't think these problems are related. One is a cache of math expression images, the other is a cache of fonts. I know ... and i found a lot of way to reproduce the same crash... I am unable to reproduce this on Matplotlib 0.98.5.3 on Linux (don't

Re: [Matplotlib-users] MathTextParser, maxdict ... Assertion failed!

2009-10-12 Thread Cédrick FAURY
This script does'nt work (it causes a PyAssertion error : invalid stock id) If it's a PyAssertion error, it should have a traceback. Is there not one? No, this problem is not related with Matplotlib : the PyAssertion error occurs when creating the wx.Menu ... Cédrick

[Matplotlib-users] Printing in wx : a solution ?

2009-10-01 Thread Cédrick FAURY
Hello, Printing in wx (with printing_in_wx.py from mpl examples) doesn't work on all pc (windows) I have tested. A crash occur as described in the thread Printing in wx http://sourceforge.net/mailarchive/message.php?msg_id=00de01c9dec9%240fed4310%241022a8c0%40ipkgatersleben.de The only

Re: [Matplotlib-users] Unknown Path Error

2009-09-23 Thread Cédrick FAURY
Hi, I have the same problem as Andrew Kelly I did the example code below (from coords_demo.py) to reproduce the bug : #!/usr/bin/env python An example of how to interact with the plotting canvas by connecting to move and click events import sys from pylab import * t = arange(0.0, 1.0, 0.01) s