Hi everyone,

I try to make a simple subplot with yticklabels on the left and
right side. Everthing is allright, if I use the subplot command,
but I need the Subplot command from the mpl toolkits in order to hide
some axis. The code below doesn't work for me. Setting label2On=True
or False has no effekt.

Any hint?

Regards, Niko



...
...
from mpl_toolkits.axes_grid.axislines import Subplot


fig = plt.figure()
ax = Subplot(fig, 311)
fig.add_subplot(ax)



for tick in ax.yaxis.get_major_ticks():
    tick.label1On = True
    tick.label2On = True
    tick.label2.set_color('r')

...
-- 
View this message in context: 
http://www.nabble.com/Problems-with-yticklabels-in-combination-with-the-mpl-toolkits-tp25857213p25857213.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to