Widgets

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.

Thanks for letting me know about the tutorial problem. As for
resetting the axes to the original view, redraw would not have done
that. In the next generation toolbar, I might be able to add a button
to support that. It already has a forward / back button to navigate
between previous views. By clicking back enough times, you'll get
back to your original view. Still, if you are deep enough in, a
"reset" button might be nice.

    > 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.

Yep, you have to train yourself to find that first error, the rest are
often meaningless.

JDH

Er, it does? I don't see them, at least not with either the default
backend on FC1, which I'm guessing is GTK, nor with the TkAgg one.

Incidentally, the on line .matplotlibrc example file still has the
"toolbar" keyword, which is gone, and is missing the "datapath" one.

···

On Mon, 2004-07-19 at 10:28, John Hunter wrote:

As for
resetting the axes to the original view, redraw would not have done
that. In the next generation toolbar, I might be able to add a button
to support that. It already has a forward / back button to navigate
between previous views.

--
Stephen Walton <stephen.walton@...267...>
Dept. of Physics & Astronomy, Cal State Northridge