TFX - TFDV - tfdv.visualize_statistics locally in PyCharm

I am new to TFX and I am trying to use the data validation module locally. I would like to generate the dataframe visualizations with tfdv.visualize_statistics(), but looks like it’s only available within Jupyter Notebooks. Is there a way to see the Facet viz locally, ie saving it as a HTML file?

Cheers

TFDV’s display_util.py contains get_statistics_html() , which does not contain the IPython functions that tfdv.visualize_statistics() does and should work outside a notebook (i.e., in an HTML file).