Re: matplotlib 3d scatter plot in Traits
On 19/06/2012 12:11 p.m., Robert Kern wrote:
> On Tue, Jun 19, 2012 at 10:30 AM, Brennan Williams
> <brennan.williams@...> wrote:
>> When I embed a matplotlib 3D scatter plot in my Traits app I can rotate,
>> zoom etc but I don't get the x,y,z positional info down below the plot
>> (and below the matplotlib buttons).
>> You do get that when running a standalone matplotlib script. But in
>> Traits that part of the window/plot is not displayed. Anyone have an
>> idea whether this is a Traits or a matplotlib issue?
> The x,y,z positional information is in a status bar. Status bars are
> part of the decoration of full-blown windows, not embedded widgets.
> When you embed a matplotlib plot inside of a Traits UI, you are just
> embedding the plain plot widget. If you know how to get this
> information out of the matplotlib plot widget, then you can push it
> into a Traits UI StatusBar:
> Or just a "readonly" Item on a Str trait, if you want to put it
> somewhere else in the UI.
> I'm afraid that I don't know how to get this information out of the
> matplotlib plot widget. You will have to consult its documentation,
> source, or mailing list.
OK, I thought that was probably the case. I'll keep looking in the
Thanks for the confirmation.