Hi, everyone.
I think I found a couple of bugs, but maybe someone knows something
about this before I go filing a bug report.
Matplotlib version: 1.1.1rc
Bug 1: I'm using axis.twiny() to plot two data sets on top of each other
using a shared y-axis. If the values are large, an exponent multiplier
appears off to the right of the axis labels. The regular ticklabels for
the second data set are correctly plotted on top of the figure.
However, the exponent does not follow. Here is an example plot (code is
attached): http://sd-work1.ece.vt.edu/offsettext.png
Bug 2: In trying to come up with a work around for bug 1, I tried to use
the axis.xaxis.get_offset_text().get_text() method to grab the text and
then plot it else where. However, it returns an empty string when I try
to assign it to a variable. It will do this until I change the state of
the memory some how, such as creating another figure or dropping to the
debugger. After that, produces the correct value. Please see the
attached code, lines 24-33.
Thanks for any help you may have,
Nathaniel
|