diff --git a/docs/iris/gallery_code/meteorology/plot_wind_speed.py b/docs/iris/gallery_code/meteorology/plot_wind_speed.py index 79be64ddd7..8d43bae320 100644 --- a/docs/iris/gallery_code/meteorology/plot_wind_speed.py +++ b/docs/iris/gallery_code/meteorology/plot_wind_speed.py @@ -46,7 +46,11 @@ def main(): # Set up axes to show the lake lakes = cfeat.NaturalEarthFeature( - "physical", "lakes", "50m", facecolor="none" + "physical", + "lakes", + "50m", + facecolor="none", + edgecolor="black", ) plt.figure() diff --git a/docs/iris/src/developers_guide/contributing_code_formatting.rst b/docs/iris/src/developers_guide/contributing_code_formatting.rst index 1a3573d135..5b726b41e7 100644 --- a/docs/iris/src/developers_guide/contributing_code_formatting.rst +++ b/docs/iris/src/developers_guide/contributing_code_formatting.rst @@ -39,7 +39,7 @@ linted according to our ``.flake8`` configuration file. Note that, for each ``.pre-commit-config.yaml`` git hook. Additionally, you may wish to enable ``black`` for your preferred -`editor/IDE `_. +`editor/IDE `_. With the ``pre-commit`` configured, the output of performing a ``git commit`` will look similar to:: diff --git a/lib/iris/fileformats/netcdf.py b/lib/iris/fileformats/netcdf.py index bb7a870d58..2032f2349f 100644 --- a/lib/iris/fileformats/netcdf.py +++ b/lib/iris/fileformats/netcdf.py @@ -1043,7 +1043,7 @@ def write( dtype(i.e. 'i2', 'short', 'u4') or a dict of packing parameters as described below. This provides support for netCDF data packing as described in - http://www.unidata.ucar.edu/software/netcdf/docs/BestPractices.html#bp_Packed-Data-Values + https://www.unidata.ucar.edu/software/netcdf/documentation/NUG/best_practices.html#bp_Packed-Data-Values If this argument is a type (or type string), appropriate values of scale_factor and add_offset will be automatically calculated based on `cube.data` and possible masking. For more control, pass a dict @@ -2589,7 +2589,7 @@ def save( (i.e. 'i2', 'short', 'u4') or a dict of packing parameters as described below or an iterable of such types, strings, or dicts. This provides support for netCDF data packing as described in - http://www.unidata.ucar.edu/software/netcdf/docs/BestPractices.html#bp_Packed-Data-Values + https://www.unidata.ucar.edu/software/netcdf/documentation/NUG/best_practices.html#bp_Packed-Data-Values If this argument is a type (or type string), appropriate values of scale_factor and add_offset will be automatically calculated based on `cube.data` and possible masking. For more control, pass a dict with