I need to obtain the numerical base of the "y" axis of the graph to save it in a variable and be able to operate with it later, in this case it is "1e-6", but the reality is that it always varies since I am working with files. csv with more than one hundred columns and thousands of data per column. I made this code separately just so we can focus on the main problem.
import numpy as np
import matplotlib.pyplot as plt
x = [1,2,3,4,5]
y = [0.000001,0.000002,0.000003,0.000004,0.000005]
fig, axs = plt.subplots(nrows=1, ncols=1, figsize=(8, 4))
axs.plot(x,y)
"""
base_number = axs.get_base_number() -> Is there any such method to get the foundation?
"""
fig.tight_layout()
plt.show()