code: def __init__(self, xrange=None, yrange=None, **_):
      self._type = "box"
      self._xrange = xrange
      self._yrange = yrange
  
imports: from __future__ import absolute_import
  from plotly.utils import _list_repr_elided
label_desc: Use image node_id 1 to create a new BoxSelector object  with example: obj = BoxSelector(xrange, yrange)