File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -75,11 +75,14 @@ class TGraphPainter extends ObjectPainter {
7575 return true ;
7676
7777 let is_normal = false ;
78- if ( check_axis !== 'y' )
79- is_normal ||= ( histo . fXaxis . fXmin !== 0.0011 ) || ( histo . fXaxis . fXmax !== 1.1 ) ;
78+ if ( check_axis !== 'y' ) {
79+ is_normal ||= ( ( histo . fXaxis . fXmin !== 0.0011 ) && ( histo . fXaxis . fXmin !== 0 ) ) ||
80+ ( ( histo . fXaxis . fXmax !== 1.1 ) && ( histo . fXaxis . fXmax !== 1 ) ) ;
81+ }
8082
8183 if ( check_axis !== 'x' ) {
82- is_normal ||= ( histo . fYaxis . fXmin !== 0.0011 ) || ( histo . fYaxis . fXmax !== 1.1 ) ||
84+ is_normal ||= ( ( histo . fYaxis . fXmin !== 0.0011 ) && ( histo . fYaxis . fXmin !== 0 ) ) ||
85+ ( ( histo . fYaxis . fXmax !== 1.1 ) && ( histo . fYaxis . fXmax !== 1 ) ) ||
8386 ( histo . fMinimum !== 0.0011 ) || ( histo . fMaximum !== 1.1 ) ;
8487 }
8588
You can’t perform that action at this time.
0 commit comments