Added optional chain argument to summary_plot