Variable Grapher

This module contains a dialog that can graph Myokit variables.

Implementation

class myokit.gui.vargrapher.VarGrapher(parent, title, var, func, args)

This widget is used to display graphs of model variables.

Arguments:

parent

The parent window calling this one.

title

A title for this window

var

A myokit.Variable.

func

The python function that calculates var

args

The arguments to func, i.e. the LhsExpressions that var depends on.

Extends: QtWidgets.QDialog

action_draw()

(re-)draws the graph