Skip to content

Commit 4692dbb

Browse files
committed
reverted recipe directory
1 parent 7a27417 commit 4692dbb

File tree

7 files changed

+12
-19
lines changed

7 files changed

+12
-19
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: 2 additions & 6 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

@@ -56,10 +55,7 @@
5655
# of the maxima, we loop through the season query mapping and do a
5756
# "T: mean" collapse setting the season as the grouping:
5857
cfp.gopen(
59-
rows=2,
60-
columns=1,
61-
bottom=0.1,
62-
top=0.85,
58+
rows=2, columns=1, bottom=0.1, top=0.85,
6359
)
6460
cfp.gpos(1)
6561
cfp.gset(xmin="1980-01-01", xmax="2022-12-01", ymin=304, ymax=312)

docs/source/recipes/recipe_list.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,4 @@ plot_18_recipe.html#sphx-glr-recipes-plot-18-recipe-py
3737
plot_19_recipe.html#sphx-glr-recipes-plot-19-recipe-py
3838
<div class="sphx-glr-thumbcontainer collapse subspace subplot lineplot" tooltip="Collapse, Subspace, Subplot, Lineplot">
3939
plot_20_recipe.html#sphx-glr-recipes-plot-20-recipe-py
40-
<div class="sphx-glr-thumbcontainer subspace contourmap vectorplot maths masking" tooltip="Subspace, Contourmap, Vectorplot, Mathematical Operations, Mask">
41-
plot_21_recipe.html#sphx-glr-recipes-plot-21-recipe-py
42-
<div class="sphx-glr-thumbcontainer maths stats" tooltip="Mathematical Operations, Statistical Operations">
43-
plot_22_recipe.html#sphx-glr-recipes-plot-22-recipe-py
44-
<div class="sphx-glr-thumbcontainer subspace maths" tooltip="Subspace, Mathematical Operations">
45-
plot_23_recipe.html#sphx-glr-recipes-plot-23-recipe-py
46-
<div class="sphx-glr-thumbcontainer subspace subplot vectorplot" tooltip="Subspace, Subplot, Vectorplot">
40+
<div class="sphx-glr-thumbcontainer subspace contourmap vectorplot maths masking" tooltip="Subspace, Contourmap, Vectorplot, Mathematical Operations, Mask">

0 commit comments

Comments
 (0)