Привет, вот пример того, как вы можете сделать это, если я правильно понял
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
%matplotlib inline
df = pd.DataFrame.from_dict({'series1': [1, 2, [enter image description here][1]3, 4, 5],
'series2': [3, 4, 5, 6, 7],
'series3': [5, 6, 4, 3, 9]})
ax = df.plot(x="series1", y="series2", legend=False)
ax2 = ax.twinx()
df.plot(x="series1", y="series3", ax=ax2, legend=False, color="r")
ax.figure.legend()
plt.show()