diff --git a/src/classes/PMusrCanvas.cpp b/src/classes/PMusrCanvas.cpp index 7b4be8e9..12db53f9 100644 --- a/src/classes/PMusrCanvas.cpp +++ b/src/classes/PMusrCanvas.cpp @@ -160,6 +160,8 @@ PMusrCanvas::PMusrCanvas() fXmax = 0.0; fYmin = 0.0; fYmax = 0.0; + + gStyle->SetHistMinimumZero(kTRUE); // needed to enforce proper bar option handling } //-------------------------------------------------------------------------- @@ -206,6 +208,8 @@ PMusrCanvas::PMusrCanvas(const Int_t number, const Char_t* title, fXmax = 0.0; fYmin = 0.0; fYmax = 0.0; + + gStyle->SetHistMinimumZero(kTRUE); // needed to enforce proper bar option handling } //-------------------------------------------------------------------------- @@ -258,6 +262,8 @@ PMusrCanvas::PMusrCanvas(const Int_t number, const Char_t* title, fXmax = 0.0; fYmin = 0.0; fYmax = 0.0; + + gStyle->SetHistMinimumZero(kTRUE); // needed to enforce proper bar option handling } //--------------------------------------------------------------------------