Skip to content

Commit

Permalink
fix: don't reclaim space at top if xlabel or ylabel exists
Browse files Browse the repository at this point in the history
  • Loading branch information
maihde committed Jul 1, 2023
1 parent bcef744 commit 574c388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/sigplot.js
Original file line number Diff line number Diff line change
Expand Up @@ -3798,7 +3798,7 @@

// Set top and bottom
if (Gx.show_readout) {
if (Gx.no_legend_button) {
if (Gx.no_legend_button && Gx.xlabel === null && Gx.ylabel === null) {
Mx.t = Mx.text_h * 1;
} else {
Mx.t = Mx.text_h * 2;
Expand Down

0 comments on commit 574c388

Please sign in to comment.