Hello,
If I do the following:
plot([1],[1],'o')
it plots the one dot correctly.
if, however, one of those numbers is zero:
plot([1],[0],'o')
I get a floating point/divide by zero error:
/usr/lib/python2.4/site-packages/matplotlib/ticker.py in scale_range(vmin,
vmax, n,
threshold)
731 dv = abs(vmax - vmin)
732 meanv = 0.5*(vmax+vmin)
--> 733 var = dv/max(abs(vmin), abs(vmax))
734 if var < 1e-12:
735 return 1.0, 0.0
ZeroDivisionError: float division
Is there a fix for this?
In [11]:matplotlib.__version__
Out[11]:'0.87.2'
running linux, python 2.4.
thanks,
Brian Blais
--
-----------------
[EMAIL PROTECTED]
http://web.bryant.edu/~bblais
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users