Skip to content

Commit

Permalink
remove *args from plotting method
Browse files Browse the repository at this point in the history
  • Loading branch information
sarah-hlsn committed Jul 5, 2024
1 parent aa79235 commit fc19727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion climada/hazard/centroids/centr.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def select_mask(self, sel_cen=None, reg_id=None, extent=None):
)
return sel_cen

Check warning on line 482 in climada/hazard/centroids/centr.py

View check run for this annotation

Jenkins - WCR / Pylint

trailing-whitespace

LOW: Trailing whitespace
Raw output
Used when there is whitespace between the end of a line and the newline.
def plot(self, axis=None, figsize=(9, 13), *args, **kwargs):
def plot(self, *, axis=None, figsize=(9, 13), **kwargs):
"""Plot centroids geodataframe using geopandas and cartopy plotting functions.
Parameters
Expand Down

0 comments on commit fc19727

Please sign in to comment.