From 4fdf02b8da953218134cda59581878874bd9defb Mon Sep 17 00:00:00 2001 From: FloraSauerbronn Date: Tue, 6 Aug 2024 14:49:58 -0300 Subject: [PATCH] Removing legend --- gliderpy/plotting.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gliderpy/plotting.py b/gliderpy/plotting.py index a5cb405..4747014 100644 --- a/gliderpy/plotting.py +++ b/gliderpy/plotting.py @@ -122,8 +122,4 @@ def plot_ctd( ax.set_xlabel(var) ax.invert_yaxis() - # Update legend - lines, labels = ax.get_legend_handles_labels() - ax.legend(lines, labels, loc="best") - return fig, ax