From 9d26d06d7adc700928f37fc18388fe9397053ee9 Mon Sep 17 00:00:00 2001 From: mdtanker Date: Mon, 3 Jun 2024 08:39:10 +0200 Subject: [PATCH] feat: add cbar_labels kwarg to plot_3d --- src/polartoolkit/maps.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/polartoolkit/maps.py b/src/polartoolkit/maps.py index 02e3e825..c74c6733 100644 --- a/src/polartoolkit/maps.py +++ b/src/polartoolkit/maps.py @@ -2071,6 +2071,7 @@ def plot_3d( fig.shift_origin(yshift=f"{yshift}c", xshift=f"{xshift}c") fig.colorbar( + frame=f"xaf+l{cbar_labels[i]}", perspective=cbar_perspective, box="+gwhite+c3p", )