how to remove x axis labels matplotli code example Example: remove x label matplotlib plt.xticks(x, " ")