Hi all,

how can I hide ticks and/or labels in the presence of sharex=ax. Only
the last subplot 313 should have ticks and labels.

import matplotlib.pyplot as plt
fig=plt.figure(0,figsize=(16,24))

ax = fig.add_subplot(311)
ax.set_xticks([])
ax.set_xticklabels('')

ax1 = fig.add_subplot(312,sharex=ax)
ax1.set_xticks([])
ax1.set_xticklabels('')

ax2 = fig.add_subplot(313,sharex=ax)
ax2.set_xticks(ind+width)
ax2.set_xticklabels( contname,rotation='90',fontsize=8)

Nils

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to