Skip to content

Commit da2f5e6

Browse files
committed
Change figure label
1 parent f295139 commit da2f5e6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

climada/engine/impact.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,7 @@ def calc_freq_curve(self):
106106
ifc.return_per = 1/exceed_freq
107107
ifc.impact = self.at_event[sort_idxs]
108108
ifc.unit = self.unit
109-
ifc.label = os.path.splitext(os.path.basename( \
110-
self.exposures_tag.file_name))[0] + ' x ' + \
111-
os.path.splitext(os.path.basename(self.hazard_tag.file_name))[0]
109+
ifc.label = 'Exceedance frequency curve'
112110
return ifc
113111

114112
def calc(self, exposures, impact_funcs, hazard):

0 commit comments

Comments
 (0)