I am trying to plot a bar chart and a line from the same dataframe. I tried to use this simple code:
ax = df_h.plot(y='ActivePower',kind='bar',figsize=(16,8),linewidth=2, color=[colors])
df_h.plot(y='ActivePower',kind='line', ax=ax)
I followed some other links I am not sure what I am doing wrong but in the end I only have the last graph 'max plotted.
This question is not the same as link. I applied already the same suggestion there here and it does not work. I am still getting only one graph in the end, the last one. Therefore, the issue is different.