From 75543fbc02de9272ffab4f85d7f9dba1c3aea0b3 Mon Sep 17 00:00:00 2001 From: mdtanker Date: Thu, 12 Dec 2024 12:08:36 -0500 Subject: [PATCH] refactor: reduce default number of cbar histogram bins --- src/polartoolkit/maps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/polartoolkit/maps.py b/src/polartoolkit/maps.py index fadf12c4..1653228c 100644 --- a/src/polartoolkit/maps.py +++ b/src/polartoolkit/maps.py @@ -1356,7 +1356,7 @@ def add_colorbar( data = df2[df2.between(zmin, zmax)] bin_width = kwargs.get("hist_bin_width") - bin_num = kwargs.get("hist_bin_num", 100) + bin_num = kwargs.get("hist_bin_num", 50) if bin_width is not None: # if bin width is set, will plot x amount of bins of width=bin_width