tick label positions for matplotlib 3D plot

前端 未结 3 2063
说谎
说谎 2021-01-02 10:04

I am trying to work out how to set/correct the position of tick labels for a 3D matplotlib plot. Tick labels do not align with the ticks. The issue seems to be especially pr

3条回答
  •  一整个雨季
    2021-01-02 10:18

    You can also set the pad argument as negative in the tick_params options for each axis. Like this:

        ax.tick_params(axis='x', which='major', pad=-3)
    

    This might help to adjust the distance between tick labels and axis.

提交回复
热议问题