1 parent 4d6b313 commit da22b42Copy full SHA for da22b42
1 file changed
eomaps/colorbar.py
@@ -1069,7 +1069,7 @@ def _plot_histogram(self):
1069
"edgecolor", self._hist_kwargs.get("ec", None)
1070
),
1071
linewidth=self._hist_kwargs.get(
1072
- "linewidth", self._hist_kwargs.get("lw", None)
+ "linewidth", self._hist_kwargs.get("lw", 0)
1073
1074
linestyle=self._hist_kwargs.get(
1075
"linestyle", self._hist_kwargs.get("ls", None)
@@ -1121,7 +1121,7 @@ def _plot_histogram(self):
1121
else self._cmap(self._norm((minval + maxval) / 2))
1122
)
1123
for key, val in args.items():
1124
- getattr(patch, f"set_{key}")(self._hist_kwargs[key])
+ getattr(patch, f"set_{key}")(val)
1125
1126
# setup appearance of histogram
1127
if horizontal:
0 commit comments