From c675f6dedee9276dc319830fcb6c0f9debfb0c0b Mon Sep 17 00:00:00 2001 From: Bryan Hilbert Date: Sat, 17 Aug 2024 18:04:00 -0400 Subject: [PATCH] Specify circle radii in Bokeh plots --- .../apps/jwql/monitor_pages/monitor_readnoise_bokeh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jwql/website/apps/jwql/monitor_pages/monitor_readnoise_bokeh.py b/jwql/website/apps/jwql/monitor_pages/monitor_readnoise_bokeh.py index d78e64de5..43f86358f 100644 --- a/jwql/website/apps/jwql/monitor_pages/monitor_readnoise_bokeh.py +++ b/jwql/website/apps/jwql/monitor_pages/monitor_readnoise_bokeh.py @@ -154,7 +154,7 @@ def plot_readnoise_amplifers(self): ("ngroups", "@ngroups"), ("readnoise", "@readnoise")])) - amp_plot.circle(x='expstarts', y='readnoise', source=source) + amp_plot.circle(x='expstarts', y='readnoise', radius=0.01, radius_dimension='y', source=source) amp_plot.xaxis.axis_label = 'Date' amp_plot.yaxis.axis_label = 'Mean Readnoise [DN]' @@ -204,7 +204,7 @@ def plot_readnoise_histogram(self): self.readnoise_histogram.add_tools(HoverTool(tooltips=[("Data (x, y)", "(@x, @y)"), ])) - self.readnoise_histogram.circle(x='x', y='y', source=source) + self.readnoise_histogram.circle(x='x', y='y', radius=0.01, radius_dimension='x', source=source) self.readnoise_histogram.xaxis.axis_label = 'Readnoise Difference [DN]' self.readnoise_histogram.yaxis.axis_label = 'Number of Pixels'