我试图移除“时间”的重复 x 轴标签,除了底部的四个面板之外。
应该怎么做?
grid = sns.FacetGrid(df_va1, col = 'Subject', hue = 'Subject', palette = 'GnBu_d',
col_wrap = 4, height = 1.5, aspect= .9)
grid.map(plt.plot, 'TimePoint', 'values', marker = 'o')
grid.set(xticks = [0,3,6,12], yticks = [0, 0.5, 1], xlim = (-0.5,12.5),
xlabel = 'time', ylabel = 'values')
grid.fig.tight_layout(w_pad=1)