- Matplotlib 3.0 Cookbook
- Srinivasa Rao Poladi
- 58字
- 2021-08-13 15:16:15
Customizing spines
Matplotlib, by default, displays all four spines at the top, bottom, left and right of the plot, creating a boundary box around it. It displays ticks and ticklabels only on the left (y axis) and the bottom (x axis). However, it allows us to customize their placement and also omit any of the spines, as required.