From 849cf79159845439ba1f91936114e73d439bc27a Mon Sep 17 00:00:00 2001 From: "Brett M. Morris" Date: Fri, 26 Apr 2024 13:05:42 -0400 Subject: [PATCH] Update lcviz/plugins/plot_options/plot_options.py Co-authored-by: Kyle Conroy --- lcviz/plugins/plot_options/plot_options.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lcviz/plugins/plot_options/plot_options.py b/lcviz/plugins/plot_options/plot_options.py index 2fbfe38..8a80459 100644 --- a/lcviz/plugins/plot_options/plot_options.py +++ b/lcviz/plugins/plot_options/plot_options.py @@ -42,10 +42,11 @@ def _default_tpf_stretch( image, [vmin_percentile, vmax_percentile] ) - self.viewer_selected = tpf_viewer_reference - self.stretch_function_value = 'log' - self.stretch_vmin_value = vmin - self.stretch_vmax_value = vmax + po = self.new() + po.viewer_selected = tpf_viewer_reference + po.stretch_function_value = 'log' + po.stretch_vmin_value = vmin + po.stretch_vmax_value = vmax @property def user_api(self):