/nitro-plotly

Plotly plugin for H2O Nitro

Primary LanguagePythonApache License 2.0Apache-2.0

Plotly plugin for H2O Nitro

This plugin lets you use Plotly visualizations in Nitro apps.

Demo

Demo

View source.

Install

pip install h2o-nitro-plotly

Usage

  1. Import the plugin:
from h2o_nitro_plotly import plotly_plugin, plotly_box
  1. Register the plugin:
nitro = View(main, title='My App', caption='v1.0', plugins=[plotly_plugin()])
  1. 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))

Change Log

  • v0.1.0 - Dec 1, 2022
    • Initial Version