In opening: Thank you very much to Stan West and John Hunter for their
help so far.
OK, I've hit either a genuine bug in Matplotlib, or a serious gap in my
understanding; probably the latter. If I missed something in the docs,
please point me that way. Attached is a test case that shows what's
going on, as well as the "bad" plots produced.
I started with the two axis example. After setting the formatters for
ax1, I set the xmajor ticks labels' font size to 40, and plot it, as
well as ax2.
That gives me a set of large X labels, and a set of small X labels. OK,
I try setting ax2's major formatter to NullFormatter(), but that makes
all the number disappear.
As can be seen from the print statements, the instances of the
formatters are the same for both ax1 and ax2, even though they are
supposed to be different axis, BUT the instances of the tick labels are
different, hence the disparity in font sizes.
So, besides the work-around of setting font sizes on both sets of tick
labels, what is the solution here?
Thanks!
j
AxisTest.py (1.26 KB)
···
--
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/ ID 0xDB26D7CE