Skip to content

Commit 24e4f92

Browse files
Lint recipe 19: black, isort, flake8
1 parent 05c8b40 commit 24e4f92

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/source/recipes/plot_19_recipe.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@
66
"""
77

88
import cfplot as cfp
9-
import cf
10-
import numpy as np
11-
import pandas as pd
12-
from datetime import timedelta
139
import matplotlib.pyplot as plt
1410

11+
import cf
12+
1513
# 1. Load the dataset
1614
f = cf.read("~/recipes_break/ERA5_monthly_averaged_SST.nc")
1715
sst = f[0] # Select the SST variable
@@ -34,7 +32,8 @@
3432
}
3533

3634
cfp.gopen(
37-
rows=2, columns=1, bottom=0.1, top=0.85, file="global_avg_sst_plot.png")
35+
rows=2, columns=1, bottom=0.1, top=0.85, file="global_avg_sst_plot.png"
36+
)
3837

3938
# Put maxima subplot at top since these values are higher, given
4039
# increasing x axis
@@ -77,7 +76,7 @@
7776
markeredgecolor=colour,
7877
marker="o",
7978
xlabel="",
80-
title="Minima per month or season"
79+
title="Minima per month or season",
8180
)
8281
cfp.lineplot(
8382
am_min,

0 commit comments

Comments
 (0)