I’ve recently been playing around with a widget intended to be similar to matlab’s “data cursor”.
Would this be useful for inclusion into matplotlib.widgets?
https://gist.github.com/1659108
At the moment, it doesn’t inherit from the base Widget class, but that’s easily changed.
On the other hand, it doesn’t fit the model of the rest of the widgets in that it takes a sequence (or single) artist, instead of an axes instance.
If folks think it would be useful, I can submit a pull request.
Thanks,
-Joe
This is pretty cool. Any idea how much work it would take to add handling of images?
-Tony
···
On Sun, Jan 22, 2012 at 5:58 PM, Joe Kington <jkington@…1051…> wrote:
I’ve recently been playing around with a widget intended to be similar to matlab’s “data cursor”.
Would this be useful for inclusion into matplotlib.widgets?
https://gist.github.com/1659108
At the moment, it doesn’t inherit from the base Widget class, but that’s easily changed.
On the other hand, it doesn’t fit the model of the rest of the widgets in that it takes a sequence (or single) artist, instead of an axes instance.
If folks think it would be useful, I can submit a pull request.
Thanks,
-Joe
Just to clarify: by “handling images”, I mean displaying the intensity value at a point (it currently just displays the x, y coordinates).
-Tony
···
On Tue, Jan 24, 2012 at 10:12 AM, Tony Yu <tsyu80@…714…> wrote:
On Sun, Jan 22, 2012 at 5:58 PM, Joe Kington <jkington@…1051…> wrote:
I’ve recently been playing around with a widget intended to be similar to matlab’s “data cursor”.
Would this be useful for inclusion into matplotlib.widgets?
https://gist.github.com/1659108
At the moment, it doesn’t inherit from the base Widget class, but that’s easily changed.
On the other hand, it doesn’t fit the model of the rest of the widgets in that it takes a sequence (or single) artist, instead of an axes instance.
If folks think it would be useful, I can submit a pull request.
Thanks,
-Joe
This is pretty cool. Any idea how much work it would take to add handling of images?
-Tony