From cf50822603c422cace26121f11a449eb2cc93230 Mon Sep 17 00:00:00 2001 From: "Brett M. Morris" Date: Mon, 13 Nov 2023 10:34:44 -0500 Subject: [PATCH] fixing density map toggle for short cadence data for HAT-P-7 notebook --- lcviz/plugins/frequency_analysis/frequency_analysis.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lcviz/plugins/frequency_analysis/frequency_analysis.py b/lcviz/plugins/frequency_analysis/frequency_analysis.py index 0af322d8..d51d4b26 100644 --- a/lcviz/plugins/frequency_analysis/frequency_analysis.py +++ b/lcviz/plugins/frequency_analysis/frequency_analysis.py @@ -181,7 +181,12 @@ def _update_periodogram(self, *args): self.plot._update_data('periodogram', x=getattr(per, self.xunit_selected), y=per.power.value) - self.plot.update_style('periodogram', line_visible=True, markers_visible=False) + self.plot.update_style( + 'periodogram', + density_map=False, + line_visible=True, + markers_visible=False + ) self._update_periodogram_labels(per) else: self.plot.update_style('periodogram', visible=False)