From cd4187af53b2e900ef3f212533ea5a99bbabc956 Mon Sep 17 00:00:00 2001 From: Sarthak Srivastava Date: Mon, 4 Mar 2024 01:17:48 -0500 Subject: [PATCH] Change convergence plots to step plots --- tardis/visualization/tools/convergence_plot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tardis/visualization/tools/convergence_plot.py b/tardis/visualization/tools/convergence_plot.py index 16e588f5e76..01292abf505 100644 --- a/tardis/visualization/tools/convergence_plot.py +++ b/tardis/visualization/tools/convergence_plot.py @@ -332,6 +332,7 @@ def update_plasma_plots(self): x=velocity_km_s, y=self.iterable_data["t_rad"], line_color=self.plasma_colorscale[self.current_iteration - 1], + line_shape="hv", row=1, col=1, name=self.current_iteration, @@ -346,6 +347,7 @@ def update_plasma_plots(self): x=velocity_km_s, y=self.iterable_data["w"], line_color=self.plasma_colorscale[self.current_iteration - 1], + line_shape="hv", row=1, col=2, legendgroup=f"group-{self.current_iteration}",