Log interactive charts and visualizations#
You can log plots and charts, such as Matplotlib, Altair, Bokeh, and Plotly figures, as HTML objects and render them as interactive visualizations.
Logging Matplotlib figures#
By default, Neptune logs Matplotlib figures as static images.
You can use
File.as_html() to log the figure as an interactive visualization instead.
For a more detailed example, see Matplotlib integration guide.
Plotly is not compatible with the latest Matplotlib (3.5.0+) due to the fact that
mpl_to_plotly() uses deprecated Matplotlib functionalities.
Logging Altair, Bokeh, and Plotly figures#
You can upload figures from these graphing libraries as any other file:
For a more detailed example, see Altair integration guide.
For a more detailed example, see Bokeh integration guide.