ImguiFigure#
ImguiFigure#
Constructor#
|
Create a Figure containing Subplots. |
Properties#
Returns a dictionary of 'pre' and 'post' animation functions. |
|
cameras, read-only array, access individual subplots to change a camera |
|
The canvas this Figure is drawn onto |
|
controllers, read-only array, access individual subplots to change a controller |
|
imgui renderer |
|
The imgui popup that is opened by a right-click within a subplot, a |
|
edge imgui windows added to the Figure, keyed by location |
|
Layout engine |
|
subplot names, read-only array, access individual subplots to change a name |
|
The renderer that renders this Figure |
|
[n_rows, n_cols] |
Methods#
|
Add function(s) that are called on every render cycle. |
|
Add an imgui window to the Figure. |
|
|
Append imgui elements to the Figure's right-click popup, the standard right-click menu by default. |
|
|
Append imgui elements to an existing edge window. |
Clear all Subplots |
|
|
Remove animation functions. |
|
Use |
|
Export a snapshot of the Figure as numpy array. |
Get rect for the portion of the canvas that the pygfx renderer draws to, i.e. non-imgui, part of canvas. |
|
Removes the passed animation function from both pre and post render. |
|
Remove and return the Figure's right-click popup |
|
|
Remove and return the edge imgui window at the given location |
|
|
|
Set the imgui popup that is opened by a right-click within a subplot, replaces the standard right-click menu. |
|
Begins the rendering event loop and shows the Figure, returns the canvas |