fastplotlib.ui.ImguiContainer#

class ImguiContainer[source]#

Base class for imgui GUIs that are drawn inline within a window, for example an ImguiColorbar or a LegendItem.

Subclass and implement update() to draw imgui elements. Containers are not added directly, pass one to Figure.add_imgui_window() or Subplot.add_imgui_window() for a window of its own, to append_imgui_window() to draw it in a window that already exists, or to Legend.add().

Examples#

ImGUI Colorbar

ImGUI Colorbar

ImGUI Colorbar on Lines and Scatters

ImGUI Colorbar on Lines and Scatters

Volume movie

Volume movie

Volume modes

Volume modes