Skip to content

Commit

Permalink
Change title, caption
Browse files Browse the repository at this point in the history
  • Loading branch information
cbegeman committed Oct 10, 2022
1 parent ba6dacd commit 6231cfc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mpas_analysis/ocean/histogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ def run_task(self):
else:
lineWidths = None

title = main_run_name
if config.has_option(self.taskName, 'titleFontSize'):
titleFontSize = config.getint(self.taskName,
'titleFontSize')
Expand Down Expand Up @@ -512,8 +511,11 @@ def run_task(self):

var_name = f'timeMonthly_avg_{var}'

caption = f'Normalized probability density function for {var} ' \
f'climatologies in {self.regionName.replace("_", " ")}'
title = f'{self.regionName.replace("_", " ")}, {self.season}'

caption = f'Normalized probability density function for ' \
f'{self.season} {var} climatologies in ' \
f'{self.regionName.replace("_", " ")}'

# Note: consider modifying this for more professional headings
varTitle = var
Expand Down

0 comments on commit 6231cfc

Please sign in to comment.