Skip to content
Emil Wagman edited this page Nov 27, 2023 · 7 revisions

API reference

Import the main WPLT module via:

import wplt

The main module includes a global figure for quick and easy plotting. It can be accessed and used from the wplt module as pass-through. So you would do wplt.plot(...) for global figure, instead of fig.plot(...) which requires creating a figure.

Figure

Graphical figures for plotting numerical data. It can be both previewed in a popup window and saved into file. The main contents of this package is included inside the Figure class.

fig = wplt.Figure()

Check out Figure API

TimeSeries

Time-based variables and statements which can be used when plotting to animate between different states or add an additional dimension to your plot.

time_series = wplt.TimeSeries(start, end)

Check out TimeSeries API

Clone this wiki locally