tsa.dashboard.delete_figure#

DashboardAPI.delete_figure(name, force=False)#

Delete the figure identified by name.

If force is False (default), raises FigureError when the figure is referenced by any dashboard.

If force is True, dereferences the figure from every referrer dashboard (rewriting their stored source) before deleting the figure.

Parameters:
  • name (str)

  • force (bool)

Return type:

None