.. _event_tables: Event Tables ============ LineGraphic ----------- data ^^^^ **event info dict** +----------+----------------------------------------------+--------------------------------------------------------+ | dict key | type | description | +==========+==============================================+========================================================+ | key | slice, index (int) or numpy-like fancy index | key at which vertex positions data were indexed/sliced | +----------+----------------------------------------------+--------------------------------------------------------+ | value | int | float | array-like | new data values for points that were changed | +----------+----------------------------------------------+--------------------------------------------------------+ colors ^^^^^^ **event info dict** +------------+--------------------------------------+------------------------------------------------------+ | dict key | type | description | +============+======================================+======================================================+ | key | slice, index, numpy-like fancy index | index/slice at which colors were indexed/sliced | +------------+--------------------------------------+------------------------------------------------------+ | value | np.ndarray [n_points_changed, RGBA] | new color values for points that were changed | +------------+--------------------------------------+------------------------------------------------------+ | user_value | str or array-like | user input value that was parsed into the RGBA array | +------------+--------------------------------------+------------------------------------------------------+ colors ^^^^^^ **event info dict** +----------+-------------------+-----------------+ | dict key | type | description | +==========+===================+=================+ | value | np.ndarray [RGBA] | new color value | +----------+-------------------+-----------------+ cmap ^^^^ **event info dict** +----------+-------+--------------------------------+ | dict key | type | description | +==========+=======+================================+ | key | slice | key at cmap colors were sliced | +----------+-------+--------------------------------+ | value | str | new cmap to set at given slice | +----------+-------+--------------------------------+ thickness ^^^^^^^^^ **event info dict** +----------+-------+---------------------+ | dict key | type | description | +==========+=======+=====================+ | value | float | new thickness value | +----------+-------+---------------------+ size_space ^^^^^^^^^^ **event info dict** +----------+------+------------------------------+ | dict key | type | description | +==========+======+==============================+ | value | str | 'screen' | 'world' | 'model' | +----------+------+------------------------------+ name ^^^^ **event info dict** +----------+------+--------------------+ | dict key | type | description | +==========+======+====================+ | value | str | user provided name | +----------+------+--------------------+ offset ^^^^^^ **event info dict** +----------+---------------------------------+----------------------+ | dict key | type | description | +==========+=================================+======================+ | value | np.ndarray[float, float, float] | new offset (x, y, z) | +----------+---------------------------------+----------------------+ rotation ^^^^^^^^ **event info dict** +----------+----------------------------------------+-------------------------+ | dict key | type | description | +==========+========================================+=========================+ | value | np.ndarray[float, float, float, float] | new rotation quaternion | +----------+----------------------------------------+-------------------------+ visible ^^^^^^^ **event info dict** +----------+------+---------------------+ | dict key | type | description | +==========+======+=====================+ | value | bool | new visibility bool | +----------+------+---------------------+ deleted ^^^^^^^ **event info dict** +----------+------+-------------------------------+ | dict key | type | description | +==========+======+===============================+ | value | bool | True when graphic was deleted | +----------+------+-------------------------------+ ScatterGraphic -------------- data ^^^^ **event info dict** +----------+----------------------------------------------+--------------------------------------------------------+ | dict key | type | description | +==========+==============================================+========================================================+ | key | slice, index (int) or numpy-like fancy index | key at which vertex positions data were indexed/sliced | +----------+----------------------------------------------+--------------------------------------------------------+ | value | int | float | array-like | new data values for points that were changed | +----------+----------------------------------------------+--------------------------------------------------------+ sizes ^^^^^ **event info dict** +----------+----------------------------------------------+----------------------------------------------+ | dict key | type | description | +==========+==============================================+==============================================+ | key | slice, index (int) or numpy-like fancy index | key at which point sizes were indexed/sliced | +----------+----------------------------------------------+----------------------------------------------+ | value | int | float | array-like | new size values for points that were changed | +----------+----------------------------------------------+----------------------------------------------+ sizes ^^^^^ **event info dict** +----------+-------+----------------+ | dict key | type | description | +==========+=======+================+ | value | float | new size value | +----------+-------+----------------+ colors ^^^^^^ **event info dict** +------------+--------------------------------------+------------------------------------------------------+ | dict key | type | description | +============+======================================+======================================================+ | key | slice, index, numpy-like fancy index | index/slice at which colors were indexed/sliced | +------------+--------------------------------------+------------------------------------------------------+ | value | np.ndarray [n_points_changed, RGBA] | new color values for points that were changed | +------------+--------------------------------------+------------------------------------------------------+ | user_value | str or array-like | user input value that was parsed into the RGBA array | +------------+--------------------------------------+------------------------------------------------------+ colors ^^^^^^ **event info dict** +----------+-------------------+-----------------+ | dict key | type | description | +==========+===================+=================+ | value | np.ndarray [RGBA] | new color value | +----------+-------------------+-----------------+ cmap ^^^^ **event info dict** +----------+-------+--------------------------------+ | dict key | type | description | +==========+=======+================================+ | key | slice | key at cmap colors were sliced | +----------+-------+--------------------------------+ | value | str | new cmap to set at given slice | +----------+-------+--------------------------------+ size_space ^^^^^^^^^^ **event info dict** +----------+------+------------------------------+ | dict key | type | description | +==========+======+==============================+ | value | str | 'screen' | 'world' | 'model' | +----------+------+------------------------------+ name ^^^^ **event info dict** +----------+------+--------------------+ | dict key | type | description | +==========+======+====================+ | value | str | user provided name | +----------+------+--------------------+ offset ^^^^^^ **event info dict** +----------+---------------------------------+----------------------+ | dict key | type | description | +==========+=================================+======================+ | value | np.ndarray[float, float, float] | new offset (x, y, z) | +----------+---------------------------------+----------------------+ rotation ^^^^^^^^ **event info dict** +----------+----------------------------------------+-------------------------+ | dict key | type | description | +==========+========================================+=========================+ | value | np.ndarray[float, float, float, float] | new rotation quaternion | +----------+----------------------------------------+-------------------------+ visible ^^^^^^^ **event info dict** +----------+------+---------------------+ | dict key | type | description | +==========+======+=====================+ | value | bool | new visibility bool | +----------+------+---------------------+ deleted ^^^^^^^ **event info dict** +----------+------+-------------------------------+ | dict key | type | description | +==========+======+===============================+ | value | bool | True when graphic was deleted | +----------+------+-------------------------------+ ImageGraphic ------------ data ^^^^ **event info dict** +----------+--------------------------------------+--------------------------------------------------+ | dict key | type | description | +==========+======================================+==================================================+ | key | slice, index, numpy-like fancy index | key at which image data was sliced/fancy indexed | +----------+--------------------------------------+--------------------------------------------------+ | value | np.ndarray | float | new data values | +----------+--------------------------------------+--------------------------------------------------+ cmap ^^^^ **event info dict** +----------+------+---------------+ | dict key | type | description | +==========+======+===============+ | value | str | new cmap name | +----------+------+---------------+ vmin ^^^^ **event info dict** +----------+-------+----------------+ | dict key | type | description | +==========+=======+================+ | value | float | new vmin value | +----------+-------+----------------+ vmax ^^^^ **event info dict** +----------+-------+----------------+ | dict key | type | description | +==========+=======+================+ | value | float | new vmax value | +----------+-------+----------------+ interpolation ^^^^^^^^^^^^^ **event info dict** +----------+------+--------------------------------------------+ | dict key | type | description | +==========+======+============================================+ | value | str | new interpolation method, nearest | linear | +----------+------+--------------------------------------------+ cmap_interpolation ^^^^^^^^^^^^^^^^^^ **event info dict** +----------+------+------------------------------------------------+ | dict key | type | description | +==========+======+================================================+ | value | str | new cmap interpolatio method, nearest | linear | +----------+------+------------------------------------------------+ name ^^^^ **event info dict** +----------+------+--------------------+ | dict key | type | description | +==========+======+====================+ | value | str | user provided name | +----------+------+--------------------+ offset ^^^^^^ **event info dict** +----------+---------------------------------+----------------------+ | dict key | type | description | +==========+=================================+======================+ | value | np.ndarray[float, float, float] | new offset (x, y, z) | +----------+---------------------------------+----------------------+ rotation ^^^^^^^^ **event info dict** +----------+----------------------------------------+-------------------------+ | dict key | type | description | +==========+========================================+=========================+ | value | np.ndarray[float, float, float, float] | new rotation quaternion | +----------+----------------------------------------+-------------------------+ visible ^^^^^^^ **event info dict** +----------+------+---------------------+ | dict key | type | description | +==========+======+=====================+ | value | bool | new visibility bool | +----------+------+---------------------+ deleted ^^^^^^^ **event info dict** +----------+------+-------------------------------+ | dict key | type | description | +==========+======+===============================+ | value | bool | True when graphic was deleted | +----------+------+-------------------------------+ TextGraphic ----------- text ^^^^ **event info dict** +----------+------+---------------+ | dict key | type | description | +==========+======+===============+ | value | str | new text data | +----------+------+---------------+ font_size ^^^^^^^^^ **event info dict** +----------+-------------+---------------+ | dict key | type | description | +==========+=============+===============+ | value | float | int | new font size | +----------+-------------+---------------+ face_color ^^^^^^^^^^ **event info dict** +----------+------------------+----------------+ | dict key | type | description | +==========+==================+================+ | value | str | np.ndarray | new text color | +----------+------------------+----------------+ outline_color ^^^^^^^^^^^^^ **event info dict** +----------+------------------+-------------------+ | dict key | type | description | +==========+==================+===================+ | value | str | np.ndarray | new outline color | +----------+------------------+-------------------+ outline_thickness ^^^^^^^^^^^^^^^^^ **event info dict** +----------+-------+----------------------------+ | dict key | type | description | +==========+=======+============================+ | value | float | new text outline thickness | +----------+-------+----------------------------+ name ^^^^ **event info dict** +----------+------+--------------------+ | dict key | type | description | +==========+======+====================+ | value | str | user provided name | +----------+------+--------------------+ offset ^^^^^^ **event info dict** +----------+---------------------------------+----------------------+ | dict key | type | description | +==========+=================================+======================+ | value | np.ndarray[float, float, float] | new offset (x, y, z) | +----------+---------------------------------+----------------------+ rotation ^^^^^^^^ **event info dict** +----------+----------------------------------------+-------------------------+ | dict key | type | description | +==========+========================================+=========================+ | value | np.ndarray[float, float, float, float] | new rotation quaternion | +----------+----------------------------------------+-------------------------+ visible ^^^^^^^ **event info dict** +----------+------+---------------------+ | dict key | type | description | +==========+======+=====================+ | value | bool | new visibility bool | +----------+------+---------------------+ deleted ^^^^^^^ **event info dict** +----------+------+-------------------------------+ | dict key | type | description | +==========+======+===============================+ | value | bool | True when graphic was deleted | +----------+------+-------------------------------+ LineCollection -------------- data ^^^^ **event info dict** +----------+----------------------------------------------+--------------------------------------------------------+ | dict key | type | description | +==========+==============================================+========================================================+ | key | slice, index (int) or numpy-like fancy index | key at which vertex positions data were indexed/sliced | +----------+----------------------------------------------+--------------------------------------------------------+ | value | int | float | array-like | new data values for points that were changed | +----------+----------------------------------------------+--------------------------------------------------------+ colors ^^^^^^ **event info dict** +------------+--------------------------------------+------------------------------------------------------+ | dict key | type | description | +============+======================================+======================================================+ | key | slice, index, numpy-like fancy index | index/slice at which colors were indexed/sliced | +------------+--------------------------------------+------------------------------------------------------+ | value | np.ndarray [n_points_changed, RGBA] | new color values for points that were changed | +------------+--------------------------------------+------------------------------------------------------+ | user_value | str or array-like | user input value that was parsed into the RGBA array | +------------+--------------------------------------+------------------------------------------------------+ colors ^^^^^^ **event info dict** +----------+-------------------+-----------------+ | dict key | type | description | +==========+===================+=================+ | value | np.ndarray [RGBA] | new color value | +----------+-------------------+-----------------+ cmap ^^^^ **event info dict** +----------+-------+--------------------------------+ | dict key | type | description | +==========+=======+================================+ | key | slice | key at cmap colors were sliced | +----------+-------+--------------------------------+ | value | str | new cmap to set at given slice | +----------+-------+--------------------------------+ thickness ^^^^^^^^^ **event info dict** +----------+-------+---------------------+ | dict key | type | description | +==========+=======+=====================+ | value | float | new thickness value | +----------+-------+---------------------+ size_space ^^^^^^^^^^ **event info dict** +----------+------+------------------------------+ | dict key | type | description | +==========+======+==============================+ | value | str | 'screen' | 'world' | 'model' | +----------+------+------------------------------+ name ^^^^ **event info dict** +----------+------+--------------------+ | dict key | type | description | +==========+======+====================+ | value | str | user provided name | +----------+------+--------------------+ offset ^^^^^^ **event info dict** +----------+---------------------------------+----------------------+ | dict key | type | description | +==========+=================================+======================+ | value | np.ndarray[float, float, float] | new offset (x, y, z) | +----------+---------------------------------+----------------------+ rotation ^^^^^^^^ **event info dict** +----------+----------------------------------------+-------------------------+ | dict key | type | description | +==========+========================================+=========================+ | value | np.ndarray[float, float, float, float] | new rotation quaternion | +----------+----------------------------------------+-------------------------+ visible ^^^^^^^ **event info dict** +----------+------+---------------------+ | dict key | type | description | +==========+======+=====================+ | value | bool | new visibility bool | +----------+------+---------------------+ deleted ^^^^^^^ **event info dict** +----------+------+-------------------------------+ | dict key | type | description | +==========+======+===============================+ | value | bool | True when graphic was deleted | +----------+------+-------------------------------+ LineStack --------- data ^^^^ **event info dict** +----------+----------------------------------------------+--------------------------------------------------------+ | dict key | type | description | +==========+==============================================+========================================================+ | key | slice, index (int) or numpy-like fancy index | key at which vertex positions data were indexed/sliced | +----------+----------------------------------------------+--------------------------------------------------------+ | value | int | float | array-like | new data values for points that were changed | +----------+----------------------------------------------+--------------------------------------------------------+ colors ^^^^^^ **event info dict** +------------+--------------------------------------+------------------------------------------------------+ | dict key | type | description | +============+======================================+======================================================+ | key | slice, index, numpy-like fancy index | index/slice at which colors were indexed/sliced | +------------+--------------------------------------+------------------------------------------------------+ | value | np.ndarray [n_points_changed, RGBA] | new color values for points that were changed | +------------+--------------------------------------+------------------------------------------------------+ | user_value | str or array-like | user input value that was parsed into the RGBA array | +------------+--------------------------------------+------------------------------------------------------+ colors ^^^^^^ **event info dict** +----------+-------------------+-----------------+ | dict key | type | description | +==========+===================+=================+ | value | np.ndarray [RGBA] | new color value | +----------+-------------------+-----------------+ cmap ^^^^ **event info dict** +----------+-------+--------------------------------+ | dict key | type | description | +==========+=======+================================+ | key | slice | key at cmap colors were sliced | +----------+-------+--------------------------------+ | value | str | new cmap to set at given slice | +----------+-------+--------------------------------+ thickness ^^^^^^^^^ **event info dict** +----------+-------+---------------------+ | dict key | type | description | +==========+=======+=====================+ | value | float | new thickness value | +----------+-------+---------------------+ size_space ^^^^^^^^^^ **event info dict** +----------+------+------------------------------+ | dict key | type | description | +==========+======+==============================+ | value | str | 'screen' | 'world' | 'model' | +----------+------+------------------------------+ name ^^^^ **event info dict** +----------+------+--------------------+ | dict key | type | description | +==========+======+====================+ | value | str | user provided name | +----------+------+--------------------+ offset ^^^^^^ **event info dict** +----------+---------------------------------+----------------------+ | dict key | type | description | +==========+=================================+======================+ | value | np.ndarray[float, float, float] | new offset (x, y, z) | +----------+---------------------------------+----------------------+ rotation ^^^^^^^^ **event info dict** +----------+----------------------------------------+-------------------------+ | dict key | type | description | +==========+========================================+=========================+ | value | np.ndarray[float, float, float, float] | new rotation quaternion | +----------+----------------------------------------+-------------------------+ visible ^^^^^^^ **event info dict** +----------+------+---------------------+ | dict key | type | description | +==========+======+=====================+ | value | bool | new visibility bool | +----------+------+---------------------+ deleted ^^^^^^^ **event info dict** +----------+------+-------------------------------+ | dict key | type | description | +==========+======+===============================+ | value | bool | True when graphic was deleted | +----------+------+-------------------------------+ LinearSelector -------------- selection ^^^^^^^^^ **extra attributes** +--------------------+----------+----------------------------------+ | attribute | type | description | +====================+==========+==================================+ | get_selected_index | callable | returns index under the selector | +--------------------+----------+----------------------------------+ **event info dict** +----------+-------+-------------------------------+ | dict key | type | description | +==========+=======+===============================+ | value | float | new x or y value of selection | +----------+-------+-------------------------------+ name ^^^^ **event info dict** +----------+------+--------------------+ | dict key | type | description | +==========+======+====================+ | value | str | user provided name | +----------+------+--------------------+ offset ^^^^^^ **event info dict** +----------+---------------------------------+----------------------+ | dict key | type | description | +==========+=================================+======================+ | value | np.ndarray[float, float, float] | new offset (x, y, z) | +----------+---------------------------------+----------------------+ rotation ^^^^^^^^ **event info dict** +----------+----------------------------------------+-------------------------+ | dict key | type | description | +==========+========================================+=========================+ | value | np.ndarray[float, float, float, float] | new rotation quaternion | +----------+----------------------------------------+-------------------------+ visible ^^^^^^^ **event info dict** +----------+------+---------------------+ | dict key | type | description | +==========+======+=====================+ | value | bool | new visibility bool | +----------+------+---------------------+ deleted ^^^^^^^ **event info dict** +----------+------+-------------------------------+ | dict key | type | description | +==========+======+===============================+ | value | bool | True when graphic was deleted | +----------+------+-------------------------------+ LinearRegionSelector -------------------- selection ^^^^^^^^^ **extra attributes** +----------------------+----------+------------------------------------+ | attribute | type | description | +======================+==========+====================================+ | get_selected_indices | callable | returns indices under the selector | +----------------------+----------+------------------------------------+ | get_selected_data | callable | returns data under the selector | +----------------------+----------+------------------------------------+ **event info dict** +----------+------------+-----------------------------+ | dict key | type | description | +==========+============+=============================+ | value | np.ndarray | new [min, max] of selection | +----------+------------+-----------------------------+ name ^^^^ **event info dict** +----------+------+--------------------+ | dict key | type | description | +==========+======+====================+ | value | str | user provided name | +----------+------+--------------------+ offset ^^^^^^ **event info dict** +----------+---------------------------------+----------------------+ | dict key | type | description | +==========+=================================+======================+ | value | np.ndarray[float, float, float] | new offset (x, y, z) | +----------+---------------------------------+----------------------+ rotation ^^^^^^^^ **event info dict** +----------+----------------------------------------+-------------------------+ | dict key | type | description | +==========+========================================+=========================+ | value | np.ndarray[float, float, float, float] | new rotation quaternion | +----------+----------------------------------------+-------------------------+ visible ^^^^^^^ **event info dict** +----------+------+---------------------+ | dict key | type | description | +==========+======+=====================+ | value | bool | new visibility bool | +----------+------+---------------------+ deleted ^^^^^^^ **event info dict** +----------+------+-------------------------------+ | dict key | type | description | +==========+======+===============================+ | value | bool | True when graphic was deleted | +----------+------+-------------------------------+ RectangleSelector ----------------- selection ^^^^^^^^^ **extra attributes** +----------------------+----------+------------------------------------+ | attribute | type | description | +======================+==========+====================================+ | get_selected_indices | callable | returns indices under the selector | +----------------------+----------+------------------------------------+ | get_selected_data | callable | returns data under the selector | +----------------------+----------+------------------------------------+ **event info dict** +----------+------------+-------------------------------------------+ | dict key | type | description | +==========+============+===========================================+ | value | np.ndarray | new [xmin, xmax, ymin, ymax] of selection | +----------+------------+-------------------------------------------+ name ^^^^ **event info dict** +----------+------+--------------------+ | dict key | type | description | +==========+======+====================+ | value | str | user provided name | +----------+------+--------------------+ offset ^^^^^^ **event info dict** +----------+---------------------------------+----------------------+ | dict key | type | description | +==========+=================================+======================+ | value | np.ndarray[float, float, float] | new offset (x, y, z) | +----------+---------------------------------+----------------------+ rotation ^^^^^^^^ **event info dict** +----------+----------------------------------------+-------------------------+ | dict key | type | description | +==========+========================================+=========================+ | value | np.ndarray[float, float, float, float] | new rotation quaternion | +----------+----------------------------------------+-------------------------+ visible ^^^^^^^ **event info dict** +----------+------+---------------------+ | dict key | type | description | +==========+======+=====================+ | value | bool | new visibility bool | +----------+------+---------------------+ deleted ^^^^^^^ **event info dict** +----------+------+-------------------------------+ | dict key | type | description | +==========+======+===============================+ | value | bool | True when graphic was deleted | +----------+------+-------------------------------+