I fixed that problem in the qt backends by telling the
> label to ignore sizing hints. We could make the format
> string shorter, but even then, depending on the size of
> the window, this problem can occur. What format would you
> prefer to be reported on the toolbar?
I'm a little confused here because the default should be to use the
axis major formatter (eg in the Axes.format_xdata function). Why
would the default formatter return such a long string?
I don't know what the right answer is: using the default formatter is
usually irritating when plotting dates, since you often want a finer
resolution than you get with the tick formatting (eg if the ticks are
formatted to the nearest day, you may want to see H:M:S when
interacting). Clearly you can override this by using the fmt_xdata
and fmt_ydata attrs, but oftentimes I wish the defaults were better.
As a quick solution, I added a default method to the Formatter base
'return a short string version'
and overrode it for the scalar formatter
'return a short formatted string representation of a number'
and used this to format the x and y coords. What do you think about
that (revision 2666)?