Nov-28-2022, 06:16 AM
Hi Everyone,
Is there an easier way to get graphs from Jupyter notebook to work? I have several graphs to transfer but when I copy paste the size is horrible and the colors are now faded (they weren't for some reason a few weeks ago).
Is there an easier way to get graphs from Jupyter notebook to work? I have several graphs to transfer but when I copy paste the size is horrible and the colors are now faded (they weren't for some reason a few weeks ago).
# gca stands for 'get current axis'
plot_df = Loss_df
ax = plt.gca()
plot_df.plot(kind='line',use_index=True,y='QQ_GDP',ax=ax)
plot_df.plot(kind='line', use_index=True,y='VAR_Q1', color='red', ax=ax)
plt.ylabel('GDP')
plt.title('VAR Quarter 1')
plt.show()Thanks
