Skip to content

Commit

Permalink
fix(hist2dplot)!: by default extend figure size to preserve axis ratio (
Browse files Browse the repository at this point in the history
#476)

* fix(hist2dplot)!: by default extend figure size to preserve axis ratio

* chore: tests
  • Loading branch information
andrzejnovak authored Feb 23, 2024
1 parent 19d003b commit 5eb7e61
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mplhep/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ def hist2dplot(
cbarsize="7%",
cbarpad=0.2,
cbarpos="right",
cbarextend=False,
cbarextend=True,
cmin=None,
cmax=None,
ax=None,
Expand Down
Binary file modified tests/baseline/test_hist2dplot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/baseline/test_hist2dplot_cbar_subplots.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/baseline/test_hist2dplot_custom_labels.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/baseline/test_hist2dplot_flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/baseline/test_hist2dplot_inputs_nobin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/baseline/test_simple2d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5eb7e61

Please sign in to comment.