Reference 〉Class

Plot( )

Stores data on plot areas that can be toggled in the control panel. Should not be instantiated directly; use model.addPlot() instead.

Methods

Click a method name for more detailed documentation.

  • active( val, updateGUI )

    Turns on or off the selected state of a plot in the control panel.

Properties

  • label str

    The label for the plot, to be displayed on the toggle in the control panel.

  • series list

    A list of Series that have been added to the plot.

  • logscale bool

    Whether to display the plot's vertical axis on a logarithmic scale by default.

  • axes matplotlib.AxesSubplot

    The Matplotlib AxesSubplot object corresponding to the plot's graph area. This property is added to the Plot object only for visible plots and when the Graph window is initialized.

  • check textCheck|Ipywidgets.Interactive

    The GUI element corresponding to the plot selector. Not available until the control panel is launched.

  • selected bool

    Whether the plot is currently queued for display. Do not modify this property directly; use Plot.active() to ensure consistency with the GUI state.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.

History