We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3fda42 commit 990f9feCopy full SHA for 990f9fe
modules/hist2d/TGraphPainter.mjs
@@ -349,8 +349,10 @@ class TGraphPainter extends ObjectPainter {
349
if (set_y && !histo.fYaxis.fLabels) {
350
histo.fYaxis.fXmin = Math.min(minimum0, minimum);
351
histo.fYaxis.fXmax = Math.max(maximum0, maximum);
352
- histo.fMinimum = minimum;
353
- histo.fMaximum = maximum;
+ if (!this._need_2dhist) {
+ histo.fMinimum = minimum;
354
+ histo.fMaximum = maximum;
355
+ }
356
}
357
358
return histo;
0 commit comments