get_figure

sisl.viz.get_figure(backend: str, plot_actions, *args, **kwargs) Figure[source]

Get a figure object.

Parameters:
  • backend ({"plotly", "matplotlib", "py3dmol", "blender"}) – the backend to use

  • plot_actions (list of callable) – the plot actions to perform

  • *args, **kwargs – passed to the figure constructor