tfma.view.render_plot

tfma.view.render_plot(
    result,
    slicing_spec=None,
    label=None
)

Defined in view/widget_view.py.

Renders the plot view as widget.

Args:

  • result: An tfma.EvalResult.
  • slicing_spec: The slicing spec to identify the slice. Show overall if unset.
  • label: A partial label used to match a set of plots in the results.

Returns:

A PlotViewer object if in Jupyter notebook; None if in Colab.