Removing frame while keeping axes in pyplot subplots

后端 未结 3 1533
温柔的废话
温柔的废话 2021-02-01 17:39

I am creating a figure with 3 subplots, and was wondering if there is any way of removing the frame around them, while keeping the axes in place?

3条回答
  •  青春惊慌失措
    2021-02-01 17:43

    Try plt.box(on=None) It removed only the bounding box (frame) around plot, which is what I was trying to do.

    plt.axis('off') removed tick labels and the bounding box, which wasn't what I was looking to accomplish.

提交回复
热议问题