Skip to main content

Bokeh plugin for H2O Nitro

Project description

Bokeh plugin for H2O Nitro

This plugin lets you use Bokeh visualizations in Nitro apps.

Demo

Demo

View source.

Install

pip install h2o-nitro-bokeh

Usage

  1. Import the plugin:
from h2o_nitro_bokeh import bokeh_plugin, bokeh_box
  1. Register the plugin:
nitro = View(main, title='My App', caption='v1.0', plugins=[bokeh_plugin()])
  1. Use the plugin:
# Make a plot
x = [1, 2, 3, 4, 5]
y = [6, 7, 2, 4, 5]
p = figure(title="Simple line example", x_axis_label="x", y_axis_label="y")
p.line(x, y, legend_label="Temp.", line_width=2)

# Display the plot
view(bokeh_box(p))

Change Log

  • v0.2.1 - Jun 09, 2022
    • Fixed
      • Don't return value from plots.
  • v0.2.0 - May 39, 2022
    • Perf
      • Quicker loading
  • v0.1.0 - May 25, 2022
    • Initial Version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

h2o_nitro_bokeh-0.2.2-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page