Rename intermediate var to limit_mapper
@@ -22,16 +22,16 @@ export class BandView extends AnnotationView
x_mapper = @plot_view.frame.x_mappers[@model.x_range_name]
y_mapper = @plot_view.frame.y_mappers[@model.y_range_name]
- non_base_mapper = if @model.dimension == "height" then y_mapper else x_mapper
+ limit_mapper = if @model.dimension == "height" then y_mapper else x_mapper
base_mapper = if @model.dimension == "height" then x_mapper else y_mapper
if @model.lower.units == "data"
- _lower_vx = non_base_mapper.v_map_to_target(@_lower)
+ _lower_vx = limit_mapper.v_map_to_target(@_lower)
else
_lower_vx = @_lower
if @model.upper.units == "data"
- _upper_vx = non_base_mapper.v_map_to_target(@_upper)
+ _upper_vx = limit_mapper.v_map_to_target(@_upper)
else
_upper_vx = @_upper
