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 – passed to the figure constructor

  • **kwargs – passed to the figure constructor

Return type:

Figure