I understand how to display two graphs next to each other (horizontally) in a Jupyter Notebook, but I donโt know if there is a way to display a graph with a row of data with it. I assume this might look something like this:

However, I cannot do this, and whenever I print a data frame, it appears below my plot ...
There is a similar question here, but I also draw graphs inside the same cell that I want to be vertically oriented.
I currently have this:
# line plots df_plot[['DGO %chg','DLM %chg']].plot(figsize=(15,5),grid=True) plt.ylim((-ylim,ylim)) df_plot[['Diff']].plot(kind='area',color='lightgrey',figsize=(15,1)) plt.xticks([]) plt.xlabel('') plt.ylim((0,ylim_diff)) plt.show()

In those cases where the red frame shows where I want the data core to be displayed. Does anyone have any ideas on how to do this?
Thanks for your thoughts!
David yang
source share