how to remove numbers from axis matplotlib code example Example: get rid of axes numbers matplotlib ax.set_yticklabels([]) ax.set_xticklabels([])