Skip to content

Commit

Permalink
Removing legend
Browse files Browse the repository at this point in the history
  • Loading branch information
FloraSauerbronn committed Aug 6, 2024
1 parent 0babf90 commit 4fdf02b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gliderpy/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4fdf02b

Please sign in to comment.