Skip to content

Commit

Permalink
refactor: reduce default number of cbar histogram bins
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Dec 12, 2024
1 parent 04cd3ed commit 75543fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/polartoolkit/maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 75543fb

Please # to comment.