Plots

The plots module contains a number of figure classes that allow you to easily visualise pharmacokinetic and pharmacodynamic (PKPD) data, as well as PKPD modelling results.

Below you can find the figure class grouped by their intended use. At the bottom of the page, figure base classes and their API are detailed.

Figure classes grouped by intended use

Base classes

Detailed API

class chi.plots.MultiFigure(updatemenu=True)[source]

Base class for plot classes that generate multiple figures.

add_data(data)[source]

Adds data to the figure.

show()[source]

Displays the figures.

class chi.plots.MultiSubplotFigure[source]

Base class for plot classes that generate multiple figures with subplots.

Extends MultiFigure.

class chi.plots.SingleFigure(updatemenu=True)[source]

Base class for plot classes that generate a single figure.

Parameters:

updatemenu – Boolean flag that enables or disables interactive buttons, such as a logarithmic scale switch for the y-axis.

add_data(data)[source]

Adds data to the figure.

set_axis_labels(xlabel, ylabel)[source]

Sets the x axis, and y axis label of the figure.

show()[source]

Displays the figure.

class chi.plots.SingleSubplotFigure[source]

Base class for plot classes that a single figure with subplots.

show()[source]

Displays the figure.