Warning: Undefined array key "__init__" in /home/dh_nzhxm7/helipad.dev/wp-content/themes/propeller/classref.php on line 61
Reference 〉Class

Plot( )

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


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.

  • addSeries( reporter, label, color, … )

    Registers a reporter to be drawn in a particular plot during the model’s runtime.


  • 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 on which the plot is drawn. This property is added to the Plot object only for visible plots and when the TimeSeries window is launched.

  • 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.