Fix bug where if `yrange` was passed the mxmin callback was still used..
parent
dfed6cb8e9
commit
7870e759ff
|
@ -798,8 +798,13 @@ class ChartView(ViewBox):
|
||||||
|
|
||||||
if set_range:
|
if set_range:
|
||||||
|
|
||||||
|
if not yrange:
|
||||||
|
# XXX: only compute the mxmn range
|
||||||
|
# if none is provided as input!
|
||||||
yrange = self._maxmin()
|
yrange = self._maxmin()
|
||||||
|
|
||||||
if yrange is None:
|
if yrange is None:
|
||||||
|
log.warning(f'No yrange provided for {self.name}!?')
|
||||||
return
|
return
|
||||||
|
|
||||||
ylow, yhigh = yrange
|
ylow, yhigh = yrange
|
||||||
|
|
Loading…
Reference in New Issue