python hide axis labels code example Example: get rid of axes numbers matplotlib ax.set_yticklabels([]) ax.set_xticklabels([])