When passing unitized data into the annotate function it will fail because it 
attempts to use the data as  a float.

 

See the attached script for an example.

 

--James Evans

 

import pylab
from basic_units import cm

fig = pylab.figure()
ax = fig.add_subplot(111)

#BUG: This will fail.
ax.annotate( "Note 01", [0.5*cm,  0.5*cm] )

pylab.show()

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to