Skip to content
Snippets Groups Projects
Commit ceab70f6 authored by GUEZ Lionel's avatar GUEZ Lionel
Browse files

Add default values to arguments

Add default values to arguments of function `plot_velocity`.
parent 509efe2a
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ import netCDF4
import wind_cartopy
def plot_velocity(input_file, window, undefined, scale):
def plot_velocity(input_file, window=None, undefined=False, scale=20):
with netCDF4.Dataset(input_file) as f:
if "lon" in f.variables:
lon = "lon"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment