I have multiple datasets that I need to be plotted on the same axes. Just an example of the datasets are: Dataset 01 as two separate lists:
Waves Values
340 520
341 532
342 536
. .
. .
2500 720
Dataset 02 as a dataframe df:
Wavelength Data
320 560
350 572
. .
. .
2650 780
My attempt at the plot is as follows:
fig,ax=plt.subplots(figsize=(15, 10))
ax = plt.plot(x = Waves , y = Values) # list names
df.plot(ax=ax, x='Wavelength', y='Data')
plt.show()
I get the following error:
AttributeError: 'list' object has no attribute 'get_figure'
