SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Strauss JM <jst...@su...> - 2006年01月31日 13:14:49
Hi list members
=20
I have been trying to upgrade my Python version to 2.4 from 2.3. With
that I removed numarray and Numeric and installed numpy. My Matplotlib,
Scipy and wxPython was also upgraded to comply with Python 2.4. In the
process I encountered a few problems and all but one I managed to
overcome by using CVS versions of Matplotlib.
=20
With the last problem I am bit clueless. I use Boa Cocstructor to write
the application that I am busy with and for embedded plotting I am using
wxmpl (although Ken McIver said that it has not been tested for Python
2.4). After I run the application and try to plot, nothing shows except
the crosshair when I move accross the area where the axes is suppose to
be and Boa returns the following error message:
=20
Traceback (most recent call last):
File "C:\Program Files\Python24\Lib\site-packages\wxmpl.py", line 1067,
in _onPaint
FigureCanvasWxAgg._onPaint(self, evt)
File "C:\Program
Files\Python24\lib\site-packages\matplotlib\backends\backend_wx.py",
line 1048, in _onPaint
self.draw(repaint=3DFalse)
File "C:\Program Files\Python24\Lib\site-packages\wxmpl.py", line 1124,
in draw
FigureCanvasWxAgg.draw(self, repaint)
File "C:\Program
Files\Python24\lib\site-packages\matplotlib\backends\backend_wxagg.py",
line 60, in draw
FigureCanvasAgg.draw(self)
File "C:\Program
Files\Python24\lib\site-packages\matplotlib\backends\backend_agg.py",
line 385, in draw
renderer =3D self.get_renderer()
File "C:\Program
Files\Python24\lib\site-packages\matplotlib\backends\backend_agg.py",
line 396, in get_renderer
self.renderer =3D RendererAgg(w, h, self.figure.dpi)
File "C:\Program
Files\Python24\lib\site-packages\matplotlib\backends\backend_agg.py",
line 124, in __init__
self.draw_quad_mesh =3D self._renderer.draw_quad_mesh
AttributeError: draw_quad_mesh
Any suggestions? I did get some similar problems when I tried to run
the embedded examples embedding_in_wx2.py, embedding_in_wx3.py and
embedding_in_wx4.py that I downloaded with my previous Matplotlib
version.
=20
Regards
=20
Johann Strauss
From: Charlie M. <cw...@gm...> - 2006年01月31日 13:59:39
> File "C:\Program
> Files\Python24\lib\site-packages\matplotlib\backends\backend_agg.py",
> line 124, in __init__
>
> self.draw_quad_mesh =3D self._renderer.draw_quad_mesh
>
> AttributeError: draw_quad_mesh
This was added to the agg (which affects wxagg) backend between 0.86.1
and 0.86.2. This error is probably not coming from wxmpl/boa. See if
you can run the examples/quadmesh_demo.py which uses this new
functionality, after reinstalling the latest mpl.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /