Skip to content

Commit

Permalink
Merge pull request #29 from lsst/tickets/DM-36220
Browse files Browse the repository at this point in the history
DM-36220: Allow plotInfo to be None
  • Loading branch information
isullivan committed Sep 22, 2022
2 parents b9b489f + 0b04c87 commit fdcc93c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/lsst/analysis/tools/actions/plot/histPlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ def makePlot(
self._addStatisticsPanel(side_fig, all_handles, all_nums, all_meds, all_mads)

# add general plot info
hist_fig = addPlotInfo(hist_fig, plotInfo)
if plotInfo is not None:
hist_fig = addPlotInfo(hist_fig, plotInfo)

# finish up
hist_fig.text(0.01, 0.42, "Frequency", rotation=90, transform=hist_fig.transFigure)
Expand Down

0 comments on commit fdcc93c

Please sign in to comment.