File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -463,29 +463,14 @@ export class FigureModel {
463463 * 2 (secondary), and 4 (auxilary) were pressed during the event
464464 */
465465
466- /**
467- * @typedef {Object } BoxSelectorState
468- * @property {Array.<Number> } xrange
469- * Two element array containing the x-range of the box selection
470- * @property {Array.<Number> } yrange
471- * Two element array containing the y-range of the box selection
472- */
473-
474- /**
475- * @typedef {Object } LassoSelectorState
476- * @property {Array.<Number> } xs
477- * Array of the x-coordinates of the lasso selection region
478- * @property {Array.<Number> } ys
479- * Array of the y-coordinates of the lasso selection region
480- */
481-
482466 /**
483467 * Object representing the state of the selection tool during a
484468 * plotly_select event
485469 * @typedef {Object } Selector
486470 * @property {String } type
487471 * Selection type. One of: 'box', or 'lasso'
488- * @property {BoxSelectorState|LassoSelectorState } selector_state
472+ * @property {Object.<String, Array> } selector_state
473+ * Selection geometry, keyed by plotly.js axis id
489474 */
490475
491476 /**
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ class BaseFigureWidget(BaseFigure, anywidget.AnyWidget):
6464 # appropriate _py2js_* property and then immediately assigning None to the
6565 # property.
6666 #
67- # See JSDoc comments in the FigureModel class in js/src/Figure.js for
67+ # See JSDoc comments in the FigureModel class in js/src/widget.ts for
6868 # detailed descriptions of the messages.
6969 _py2js_addTraces = Dict (allow_none = True ).tag (sync = True , ** custom_serializers )
7070 _py2js_restyle = Dict (allow_none = True ).tag (sync = True , ** custom_serializers )
@@ -88,7 +88,7 @@ class BaseFigureWidget(BaseFigure, anywidget.AnyWidget):
8888 # responsible for setting the message property to None after retreiving
8989 # the message data.
9090 #
91- # See JSDoc comments in the FigureModel class in js/src/Figure.js for
91+ # See JSDoc comments in the FigureModel class in js/src/widget.ts for
9292 # detailed descriptions of the messages.
9393 _js2py_traceDeltas = Dict (allow_none = True ).tag (sync = True , ** custom_serializers )
9494 _js2py_layoutDelta = Dict (allow_none = True ).tag (sync = True , ** custom_serializers )
You can’t perform that action at this time.
0 commit comments