|
From: reyungoo <rey...@ic...> - 2009-10-12 14:59:00
|
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.
|