File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
glue_jupyter/bqplot/common Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 10
10
11
11
from ...view import IPyWidgetView
12
12
from ...link import on_change
13
- from ...utils import float_or_none , debounced , get_ioloop
13
+ from ...utils import debounced , get_ioloop
14
14
from .tools import ROIClickAndDrag
15
15
16
16
__all__ = ['BqplotBaseView' ]
@@ -116,13 +116,13 @@ def _update_bqplot_limits(self, *args):
116
116
117
117
if self .state .x_min is not None and self .state .x_max is not None :
118
118
with self .scale_x .hold_sync ():
119
- self .scale_x .min = float_or_none (self .state .x_min )
120
- self .scale_x .max = float_or_none (self .state .x_max )
119
+ self .scale_x .min = float (self .state .x_min )
120
+ self .scale_x .max = float (self .state .x_max )
121
121
122
122
if self .state .y_min is not None and self .state .y_max is not None :
123
123
with self .scale_y .hold_sync ():
124
- self .scale_y .min = float_or_none (self .state .y_min )
125
- self .scale_y .max = float_or_none (self .state .y_max )
124
+ self .scale_y .min = float (self .state .y_min )
125
+ self .scale_y .max = float (self .state .y_max )
126
126
127
127
self ._last_limits = (self .state .x_min , self .state .x_max ,
128
128
self .state .y_min , self .state .y_max )
You can’t perform that action at this time.
0 commit comments