Skip to content

Commit c6504e0

Browse files
committed
tidy
1 parent aca78e2 commit c6504e0

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

docs/source/recipes/plot_08_recipe.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
# 1. Import cf-python, cf-plot, numpy and scipy.stats:
1010

1111
import cfplot as cfp
12+
import cf
13+
1214
import numpy as np
1315
import scipy.stats as stats
1416

15-
import cf
1617

1718
# %%
1819
# 2. Three functions are defined:

docs/source/recipes/plot_12_recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# %%
1414
# 1. Import cf-python, cf-plot and matplotlib.pyplot:
1515

16-
import cfplot as cfp
1716
import matplotlib.pyplot as plt
17+
import cfplot as cfp
1818

1919
import cf
2020

docs/source/recipes/plot_13_recipe.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@
1818
# in next steps.
1919

2020
import cartopy.crs as ccrs
21-
import cfplot as cfp
2221
import matplotlib.patches as mpatches
2322

23+
import cfplot as cfp
24+
2425
import cf
2526

27+
2628
# %%
2729
# 2. Read and select the SST by index and look at its contents:
2830
sst = cf.read("~/recipes/ERA5_monthly_averaged_SST.nc")[0]

docs/source/recipes/plot_17_recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
# %%
1212
# 1. Import cf-python and cf-plot:
1313

14-
import cfplot as cfp
1514
import matplotlib.pyplot as plt
15+
import cfplot as cfp
1616

1717
import cf
1818

docs/source/recipes/plot_18_recipe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
1111
"""
1212

13-
import cfplot as cfp
14-
1513
# %%
1614
# 1. Import cf-python, cf-plot and other required packages:
1715
import matplotlib.pyplot as plt
1816
import scipy.stats.mstats as mstats
17+
import cfplot as cfp
1918

2019
import cf
2120

21+
2222
# %%
2323
# 2. Read the data in and unpack the Fields from FieldLists using indexing.
2424
# In our example We are investigating the influence of the land height on

docs/source/recipes/plot_19_recipe.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@
99
maxima.
1010
"""
1111

12-
import cfplot as cfp
13-
1412
# %%
1513
# 1. Import cf-python, cf-plot and other required packages:
1614
import matplotlib.pyplot as plt
15+
import cfplot as cfp
1716

1817
import cf
1918

0 commit comments

Comments
 (0)