I would like to change the fontsize of the order of magnitude (1e**), how can I make this happen? the snippet :
from matplotlib import pyplot as plt
x_values = [1000000, 2000000, 3000000]
y_values = [1, 2, 3]
plt.plot(x_values, y_values)
plt.ticklabel_format(axis="x", style="sci", scilimits=(0,0))
extracted from:
the plot is in the link.
thanks for the help!