Skip to content

Commit

Permalink
Specify circle radii in Bokeh plots
Browse files Browse the repository at this point in the history
  • Loading branch information
bhilbert4 committed Aug 17, 2024
1 parent 025af4e commit c675f6d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]'
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit c675f6d

Please sign in to comment.