tfma.view.render_plot

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

Renders the plot view as widget.

Args:

  • result: An tfma.EvalResult.
  • slicing_spec: The slicing spec to identify the slice. Show overall if unset.

Returns:

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