Skip to content

Commit

Permalink
Standardise data IO paths for NH original recipe 16
Browse files Browse the repository at this point in the history
  • Loading branch information
sadielbartholomew committed Oct 4, 2024
1 parent 1259c9a commit 8c717a7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/source/recipes/plot_17_recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

# %%
# 2. Read the field in:
PATH = "~/git-repos/cf-plot/cfplot/test/cfplot_data"
f = cf.read(f"{PATH}/ggap.nc")[0]
f = cf.read(f"~/recipes/ggap.nc")[0]

# %%
# 3. Choose a set of predefined colour scales to view. These can be chosen
Expand Down Expand Up @@ -68,7 +67,7 @@
# %%
# 5. Create the figure and give it an overall title. Ensure the
# number of rows * number of columns = number of colour scales:
cfp.gopen(rows=3, columns=3, bottom=0.1, top=0.85, file="colour_scales.png")
cfp.gopen(rows=3, columns=3, bottom=0.1, top=0.85)
plt.suptitle(
(
"Air temperature (K) at 850 mbar pressure shown in different "
Expand Down

0 comments on commit 8c717a7

Please sign in to comment.