import numpy as np from scipy.optimize import curve_fit import pandas as pd import matplotlib.pyplot as plt import matplotlib import scienceplots plt.style.use(['science', 'russian-font']) matplotlib.rcParams.update({ 'figure.figsize': [6, 4], 'savefig.facecolor': 'white', 'figure.dpi': 150.0, 'font.size': 12.0, })