# tfma.view.render_time_series

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/model-analysis/blob/v0.46.0/tensorflow_model_analysis/view/widget_view.py#L60-L84) |

Renders the time series view as widget.

    tfma.view.render_time_series(
        results: view_types.EvalResults,
        slicing_spec: Optional[Union[slicer.SingleSliceSpec, https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/SlicingSpec]] = None,
        display_full_path: bool = False
    ) -> Optional[visualization.TimeSeriesViewer]

### Used in the notebooks

| Used in the tutorials |
|---|
| - [TensorFlow Model Analysis](https://www.tensorflow.org/tfx/tutorials/model_analysis/tfma_basic) |

<br />

<br />

<br />

| ## Args ||
|---|---|
| `results` | An tfma.EvalResults. |
| `slicing_spec` | A tfma.SlicingSpec determining the slice to show time series on. Show overall if not set. |
| `display_full_path` | Whether to display the full path to model / data in the visualization or just show file name. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A TimeSeriesViewer object if in Jupyter notebook; None if in Colab. ||

<br />