I assigned different colors to different lines of plot with following code. I would appreciate if someone could help with assigning individual line styles to each line. Lines should have solid or dashed line styles. adding linestyles = linestyles argument in plot() function throws an error AttributeError: 'Line2D' object has no property 'linestyles'
fig, ax = plt.subplots()
linestyles =['-', '-', '--', '-', '--', '-', '--']
cmap = matplotlib.colors.LinearSegmentedColormap.from_list("", ['black', 'brown', 'brown', 'orange', 'orange', 'green', 'green'])
new_df_brindabella[['est_fmc', '1h_surface', '1h_profile', '10h_fuel stick',
'100h debri', 'Daviesia', 'Eucalyptus', 'obs_fmc_mean']].resample("1M").mean().interpolate().plot(figsize=(15,5),
cmap = cmap, ax=ax)
ax.legend(loc='center left', markerscale=6, bbox_to_anchor=(1, 0.4))