On Wed, Feb 29, 2012 at 5:47 PM, C M <cmpyt...@gmail.com> wrote:

> I'd like to use, in one case, small loaded images (pngs) as markers on an
> interactive matplotlib plot (using the OO approach).  I'd potentially like
> to be able to point-pick these markers, too, as well as have them update
> appropriately if the plot is resized.
>
> The only example I've been to find of this is here:
>
> http://stackoverflow.com/questions/2318288/how-to-use-custom-marker-with-plot
>
> But that is from 2 years ago.  Is this way of doing it--which the author
> describes as a "kludge"--still the state of things, or is there a better
> approach now?  (And right now this way isn't working for me...the images
> are down the bottom of the figure).
>
> Thank you,
> Che
>
>
Yeah, there are better ways to do that, somewhat.  The problem with the
proposed solution is that it relies on non-public APIs, which are can be
subject to change without deprecation.  Instead, I would have created the
figimage object with a particular transform object that would have placed
it at the appropriate data points.  Perhaps someone else on this list knows
of the correct way to do that?

Ben Root
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to