On Thu, Apr 22, 2010 at 7:38 PM, John Hunter <jdh2...@gmail.com> wrote:

>
> The standard trick is to make the ticklabels on one axes invisible
>
> for label in ax.get_xticklabels():
>    label.set_visible(False)
>
>
> JDH
>

Thanks John, This answer seems familiar to me :)  You have caught my
intention correctly --not completely clearing the x-axis but rather
turning-off the labels.

Your trick works independent from sharing state of an x-axis.

Alternatively, I use ax.xaxis.set_ticklabels ("")  to clear tick-labels when
I don't share the axis.

-- 
Gökhan
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to