Answers for "plt set ax label"

4

matplotlib axes labels

fig = plt.figure()
ax = fig.add_subplot(...)

ax.set_title('Title Here')

ax.set_xlabel('x label here')
ax.set_ylabel('y label here')
ax.set_zlabel('z label here')
Posted by: Guest on April-18-2020

Python Answers by Framework

Browse Popular Code Answers by Language