@@ -1807,7 +1807,7 @@ class TFramePainter extends ObjectPainter {
18071807 umax = pad [ `fU${ name } max` ] ,
18081808 eps = 1e-7 ;
18091809
1810- if ( name === 'x' ) {
1810+ if ( name === 'x' ) {
18111811 if ( ( Math . abs ( pad . fX1 ) > eps ) || ( Math . abs ( pad . fX2 - 1 ) > eps ) ) {
18121812 const dx = pad . fX2 - pad . fX1 ;
18131813 umin = pad . fX1 + dx * pad . fLeftMargin ;
@@ -1904,6 +1904,9 @@ class TFramePainter extends ObjectPainter {
19041904 if ( opts . ndim > 1 ) this . applyAxisZoom ( 'y' ) ;
19051905 if ( opts . ndim > 2 ) this . applyAxisZoom ( 'z' ) ;
19061906
1907+ // TODO: extraction of PAD ranges must be done much earlier in hist painter
1908+ // normally histogram MUST set this ranges
1909+ // to be fixed after 7.6.0 release
19071910 if ( opts . check_pad_range === 'pad_range' ) {
19081911 const canp = this . getCanvPainter ( ) ;
19091912 // ignore range set in the online canvas
@@ -1960,7 +1963,7 @@ class TFramePainter extends ObjectPainter {
19601963 noexp_changed : this . y_noexp_changed ,
19611964 symlog : this . swap_xy ? opts . symlog_x : opts . symlog_y ,
19621965 logcheckmin : ( opts . ndim < 2 ) || this . swap_xy ,
1963- log_min_nz : opts . ymin_nz && ( opts . ymin_nz < this . ymax ) ? 0.9 * opts . ymin_nz : 0 ,
1966+ log_min_nz : opts . ymin_nz && ( opts . ymin_nz <= this . ymax ) ? 0.5 * opts . ymin_nz : 0 ,
19641967 logminfactor : logminfactorY } ) ;
19651968
19661969 this . y_handle . assignFrameMembers ( this , 'y' ) ;
0 commit comments