Answers for "plt remove ticks and labels"

3

tick labels vertical matplotlib

plt.xticks(rotation=45)
Posted by: Guest on May-11-2020
0

matplotlib remove ticks and lines

fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot([1],[1])
ax.tick_params(axis=u'both', which=u'both',length=0)
plt.show()
Posted by: Guest on April-07-2020

Python Answers by Framework

Browse Popular Code Answers by Language