|
From: Alan G I. <ai...@am...> - 2008-11-29 14:38:13
|
On 11/29/2008 7:48 AM TP apparently wrote: > In my own application, I want to specialize matplotlib.lines.Line2D to be > able to deal with units. > Concerning this class, is there a direct means to plot instances? There must be. I have not done this, but looking at http://matplotlib.sourceforge.net/api/artist_api.html#module-matplotlib.lines it looks like you can set the ``axes`` property and looking at the base class http://matplotlib.sourceforge.net/api/artist_api.html#matplotlib.artist.Artist there is a ``draw`` method. hth, Alan Isaac |