download figure as svg file in line_plot and scatter_plot