Skip to content

Commit

Permalink
Adding title string to if else
Browse files Browse the repository at this point in the history
  • Loading branch information
mfixstsci committed Jan 8, 2024
1 parent e456975 commit db6178d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions jwql/website/apps/jwql/monitor_pages/monitor_dark_bokeh.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ def create_plot(self):
self.plot.grid.grid_line_color="white"
else:
# If self.data is empty, then make a placeholder plot
title_str = f'{self.aperture}: Dark Rate Histogram'
self.plot = PlaceholderPlot(title_str, x_label, y_label).plot


Expand Down
1 change: 1 addition & 0 deletions jwql/website/apps/jwql/monitor_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
from . import bokeh_containers
from jwql.database.database_interface import session
from jwql.database.database_interface import NIRCamClawStats
from jwql.website.apps.jwql import bokeh_containers
from jwql.website.apps.jwql.monitor_pages.monitor_readnoise_bokeh import ReadNoiseFigure
from jwql.utils.constants import JWST_INSTRUMENT_NAMES_MIXEDCASE
from jwql.utils.utils import get_config, get_base_url
Expand Down

0 comments on commit db6178d

Please sign in to comment.