[Matplotlib-users] about moving labels closer to coordinate in 3D plotting

谢瑾博 xiejinbo at mail.iap.ac.cn
Wed Jun 19 10:52:13 EDT 2019


Hi Everyone,
I have a problem trying to set the X and Y label closer to the coordinate. I have ax.xaxis.set_ticks_position('top'),ax.yaxis.set_ticks_position('top') so that the ticks are close to the coordinate. As for the labels, I have tried 

ax.xaxis.set_label_position('bottom')

ax.xaxis.set_label_position('top'),

but neither seems to move the labels closer, is there any way to move it closer to the coordinates?

yours,

Jinbo





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20190619/cd1b43ba/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1560955669657.png
Type: image/png
Size: 107705 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20190619/cd1b43ba/attachment-0001.png>


More information about the Matplotlib-users mailing list