This plugin lets you use Plotly visualizations in Nitro apps.
pip install h2o-nitro-plotly
- Import the plugin:
from h2o_nitro_plotly import plotly_plugin, plotly_box
- Register the plugin:
nitro = View(main, title='My App', caption='v1.0', plugins=[plotly_plugin()])
- Use the plugin:
# Make a plot
df = px.data.iris()
fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species")
# Display the plot
view(plotly_box(fig))
- v0.1.0 - Dec 1, 2022
- Initial Version