Skip to content

Commit

Permalink
Better plotting [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Simionato committed Mar 8, 2025
1 parent 3f63bef commit afb3958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openquake/commands/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def make_figure_hcurves(extractors, what):
ax.set_xlabel('%s, site %s, inv_time=%dy' %
(imt, site, oq.investigation_time))
ax.set_ylabel('PoE')
ax.set_xlabel('acceleration')
ax.set_xlabel(f'{imt} (g units)')
for ck, arr in got.items():
if (arr == 0).all():
logging.warning('There is a zero curve %s_%s', *ck)
Expand Down

0 comments on commit afb3958

Please sign in to comment.