Skip to content

Commit 5eb7e61

Browse files
authored
fix(hist2dplot)!: by default extend figure size to preserve axis ratio (#476)
* fix(hist2dplot)!: by default extend figure size to preserve axis ratio * chore: tests
1 parent 19d003b commit 5eb7e61

File tree

7 files changed

+1
-1
lines changed

7 files changed

+1
-1
lines changed

src/mplhep/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ def hist2dplot(
602602
cbarsize="7%",
603603
cbarpad=0.2,
604604
cbarpos="right",
605-
cbarextend=False,
605+
cbarextend=True,
606606
cmin=None,
607607
cmax=None,
608608
ax=None,

tests/baseline/test_hist2dplot.png

220 Bytes
Loading
857 Bytes
Loading
240 Bytes
Loading
3.71 KB
Loading
1.56 KB
Loading

tests/baseline/test_simple2d.png

165 Bytes
Loading

0 commit comments

Comments
 (0)