Dear ALL,

When attempting to set the properties of points or lines in MPL 0.98.4
using the wxAgg backend (which should display a Basemap, that does not
appear because of the error) I am getting the following error -- it
happens no matter how I set the properties, if using keyword arguments
or the set methods:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_wx.py",
line 1122, in _onPaint
    self.draw(drawDC=drawDC)
  File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_wxagg.py",
line 60, in draw
    FigureCanvasAgg.draw(self)
  File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_agg.py",
line 283, in draw
    self.figure.draw(self.renderer)
  File "/usr/lib/python2.5/site-packages/matplotlib/figure.py", line
772, in draw
    for a in self.axes: a.draw(renderer)
  File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 1601, in draw
    a.draw(renderer)
  File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 462, in draw
    markerFunc(renderer, gc, tpath, affine.frozen())
  File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line
794, in _draw_circle
    w = renderer.points_to_pixels(self._markersize) * 0.5
  File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_agg.py",
line 216, in points_to_pixels
    return points*self.dpi/72.0
TypeError: unsupported operand type(s) for /: 'str' and 'float'

Any hints?

Best regards,

-- 
Dr. Mauro J. Cavalcanti
Ecoinformatics Studio
P.O. Box 46521, CEP 20551-970
Rio de Janeiro, RJ, BRASIL
E-mail: mauro...@gmail.com
Web: http://studio.infobio.net
Linux Registered User #473524 * Ubuntu User #22717
"Life is complex. It consists of real and imaginary parts."

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to