Skip to content

Commit

Permalink
fix: fixing typing cast
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Dec 9, 2023
1 parent 4dba1db commit da73d0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/antarctic_plots/maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def basemap(
fig_width=fig_width,
)

fig_width = typing.cast(float, fig_width)

# initialize figure or shift for new subplot
if origin_shift == "initialize":
fig = pygmt.Figure()
Expand Down

0 comments on commit da73d0b

Please sign in to comment.