I have this image:
plt.plot(sim_1[\'t\'],sim_1[\'V\'],\'k\') plt.ylabel(\'V\') plt.xlabel(\'t\') plt.show()
I want to hide the numbers
to remove tickmarks entirely use:
ax.set_yticks([]) ax.set_xticks([])
otherwise ax.set_yticklabels([]) and ax.set_xticklabels([]) will keep tickmarks.
ax.set_yticklabels([])
ax.set_xticklabels([])