matplotlib remove ticks and lines

158

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()

Comments

Submit
0 Comments