From 00d3d13137354dd81fd6ed017b81c0e95f2c04ca Mon Sep 17 00:00:00 2001 From: sichao Date: Fri, 1 Mar 2024 14:13:06 -0500 Subject: [PATCH] add return value to lap_min_time --- dynamo/plot/least_action_path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamo/plot/least_action_path.py b/dynamo/plot/least_action_path.py index 2e5421c63..053971cac 100644 --- a/dynamo/plot/least_action_path.py +++ b/dynamo/plot/least_action_path.py @@ -165,4 +165,4 @@ def lap_min_time( # scatters(adata, basis=basis, color=color, ax=axes[i, j], **kwargs) # axes[i, j].scatter(*i[:, [x, y]].T, c=map2color(j)) - return save_show_ret("kinetic_curves", save_show_or_return, save_kwargs) + return save_show_ret("kinetic_curves", save_show_or_return, save_kwargs, fig)