Show tick labels when sharing an axis in matplotlib

后端 未结 3 1760
醉话见心
醉话见心 2020-12-05 10:50

I\'m running the following function:

def plot_variance_analysis(indices, stat_frames, legend_labels, shape):
    x = np.linspace(1, 5, 500)
    fig, axes = p         


        
3条回答
  •  不知归路
    2020-12-05 11:23

    In Matplotlib 2.2 the tick labels can be turned back on using:

    ax.xaxis.set_tick_params(labelbottom=True)
    

提交回复
热议问题