Widgets

As a new user of matplotlib, I'm surprised I haven't

    > seen this mentioned, offhand, in the mailing list
    > archive. I am not seeing the redraw or close widgets on
    > the plot windows I produce. The platform is Fedora Core
    > 1, although I built on RHEL3 because matplotlib-0.60-2
    > won't build on FC1 (some problem with tk-devel,
    > apparently).

Your post says you are a new user but the content suggests you've used
matplotlib before. In early versions there was both a redraw button
and a close button. The former was there because sometimes the figure
would get into an inconsistent state (after exposes, or resizes for
example) but these problems were fixed and I no longer saw a need for
it. The close button was dropped after Steve Chaplin pointed me to
some user interface design guidelines that argued close buttons should
never be placed on toolbars. So it is by design that these are
missing. Is this a problem for you?

As for the FC1 problem, perhaps Fernando Perez can comment - I
believe he has used matplotlib with FC1. I have no experience here.

JDH

    > I am not seeing the redraw or close widgets on
    > the plot windows I produce.

Your post says you are a new user but the content suggests you've used
matplotlib before.

I have played with version 0.50 a bit before, but I asked about the
"missing" widgets because they're still in the online tutorial. Plus, I
had thought the redraw button would be a convenient way to reset a plot
to its default after zooming and/or scrolling in one or the other axis.
This last function is one I actually need, but I was unable to see
anywhere in the documentation how it might be done.

As for the FC1 [compile] problem,

This turned out to be SOE (Stupid Operator Error). I didn't have the
tk-devel and tcl-devel packages installed. Unfortunately the lack of
tk.h and/or tcl.h causes so many error messages in the compile that the
line complaining about their lack is easy to miss. Not a matplotlib
problem, I hasten to add.

Thanks for the responses.

···

On Mon, 2004-07-19 at 08:24, John Hunter wrote: