Independent axis for each subplot in pandas boxplot

前端 未结 3 1018
孤城傲影
孤城傲影 2021-01-06 10:06

The below code helps in obtaining subplots with unique colored boxes. But all subplots share a common set of x and y axis. I was looking forward to having independent axis f

3条回答
  •  南方客
    南方客 (楼主)
    2021-01-06 10:55

    You may set the ticklabels visible again, e.g. via

    plt.setp(ax.get_xticklabels(), visible=True)
    

    This does not make the axes independent though, they are still bound to each other, but it seems like you are asking about the visibilty, rather than the shared behaviour here.

提交回复
热议问题