matplotlib remove ticks and lines

Solutions on MaxInterview for matplotlib remove ticks and lines by the best coders in the world

showing results for - "matplotlib remove ticks and lines"
Barbara
03 Jun 2019
1fig = plt.figure()
2ax = fig.add_subplot(111)
3ax.plot([1],[1])
4ax.tick_params(axis=u'both', which=u'both',length=0)
5plt.show()