From: Jean P. <2s...@ma...> - 2004-09-06 21:50:10
|
Hello, I'm a new user of matplotlib and I have to admit that I'm quite impressed and excited about it ! I'm currently trying to convince the whole company to switch from matlab to python (at least 200 users I think), and matplotlib is a big asset. If it's a success, as a big supporter of free software, I hope to convince the company to make some donations to python and/or matplotlib...(matlab licence are really expensive...) Anyway, at the moment I can't make any donation, but I can at least help to improve matplotlib, so here are the problems I've found : I began with version 0.60.2 and everything worked out of the box with either linux or windows NT4. But when trying to display several plot on the same window, I had some text overlapping so after a while I've decided to switch to 0.62.4 to see if things has improved. But it seems that everything was broken ! I cannot even display a simple plot on windows NT4 or linux. On windows I use the enthought edition python-2.3.3-1057 and on linux I was using the latest (python 2.3.4, wxPython 2.5.2.7, numarray 1.0, Numeric 23.3...). Here is the output on linux when I try to use the simple_plot.py : ****************************************************************** Extra content at the end of the document Could not load filename for text /users/m024234/local/share/matplotlib/Vera.ttf Traceback (most recent call last): File "/usr/local/lib/python2.3/site-packages/matplotlib/ba ckends/backend_gtkagg.py", line 85, in callback else: self.draw() File "/usr/local/lib/python2.3/site-packages/matplotlib/ba ckends/backend_gtkagg.py", line 40, in draw FigureCanvasAgg.draw(self) File "/usr/local/lib/python2.3/site-packages/matplotlib/ba ckends/backend_agg.py", line 307, in draw self.figure.draw(self.renderer) File "/usr/local/lib/python2.3/site-packages/matplotlib/figure.py", line 238, in draw for a in self.axes: a.draw(renderer) File "/usr/local/lib/python2.3/site-packages/matplotlib/axes.py", line 692, in draw self.xaxis.draw(renderer) File "/usr/local/lib/python2.3/site-packages/matplotlib/ax is.py", line 475, in draw tick.draw(renderer) File "/usr/local/lib/python2.3/site-packages/matplotlib/axis.py", line 136, in draw if self.label1On: self.label1.draw(renderer) File "/usr/local/lib/python2.3/site-packages/matplotlib/text.py", line 207, in draw bbox, info = self._get_layout(renderer) File "/usr/local/lib/python2.3/site-packages/matplotlib/text.py", line 106, in _get_layout w,h = renderer.get_text_width_height( File "/usr/local/lib/python2.3/site-packages/matplotlib/backends/backend_agg .py", line 211, in get_text_width_height font.set_text(s, 0.0) # the width and height of unrotated string AttributeError: 'NoneType' object has no attribute 'set_text' ****************************************************************** Let me know if I can do anything to help you understand the problem... Anyway, great software ! Regards, |