append_imgui_window#

Subplot.append_imgui_window(gui=None, *, location=None)[source]#

Append imgui elements to an existing window of this subplot. Can also be used as a decorator. Useful for appending elements to the subplot toolbar with location="toolbar".

Parameters:
  • gui (callable | ImguiContainer, optional) – function that draws imgui elements, or an ImguiContainer such as an ImguiColorbar. Omit when decorating.

  • location (str, "left" | "right" | "top" | "bottom" | "toolbar") – location of the existing window to append to