From 65fb56bd9c5b54de91237e132458039a2604aa01 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 22:23:00 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- gliderpy/plotting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gliderpy/plotting.py b/gliderpy/plotting.py index 88c88e5..ccd78c1 100644 --- a/gliderpy/plotting.py +++ b/gliderpy/plotting.py @@ -56,7 +56,7 @@ def plot_transect( :param var: variable to colour the scatter plot :return: figure, axes """ - cmap = kw.get("cmap", None) + cmap = kw.get("cmap") fignums = plt.get_fignums() if ax is None and not fignums: