fig, (ax1, ax2) = plt.subplots(1, 2, figsize= (30,8)) ax1.plot(df_cuba.wk_year, df_cuba.GP_per_sender,'-b*') ax1.plot(df_cuba.wk_year, df_cuba.avg_value, '--g') ax1.plot(df_cuba.wk_year, df_cuba.std_value2p,'-r') ax1.plot(df_cuba.wk_year, df_cuba.std_value2m,'-r') ax1.set_title('Cuba') ax2.plot(df_row.wk_year, df_row.GP_per_sender,'-b*') ax2.plot(df_row.wk_year, df_row.avg_value, '--g') ax2.plot(df_row.wk_year, df_row.std_value2p,'-r') ax2.plot(df_row.wk_year, df_row.std_value2m,'-r') ax2.set_title('ROW')
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter