Skip to content

Commit 552e286

Browse files
fix plot_fraction signature
1 parent 1dfed4b commit 552e286

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

climada/hazard/plot.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,15 @@ def plot_intensity(
175175

176176
raise ValueError("Provide one event id or one centroid id.")
177177

178-
def plot_fraction(self, event=None, centr=None, smooth=True, axis=None, **kwargs):
178+
def plot_fraction(
179+
self,
180+
event=None,
181+
centr=None,
182+
smooth=True,
183+
axis=None,
184+
mask_distance=0.03,
185+
**kwargs,
186+
):
179187
"""Plot fraction values for a selected event or centroid.
180188
181189
Parameters

0 commit comments

Comments
 (0)