Using this example, I get an error and blank output.
import random
from IPython import display as d
import nvd3
nvd3.ipynb.initialize_javascript(use_remote=True)
type = 'stackedAreaChart'
chart2 = nvd3.stackedAreaChart(name=type,height=450,width=500,
use_interactive_guideline=True)
nb_element = 50
xdata = range(nb_element)
ydata = [i * random.randint(1, 10) for i in range(nb_element)]
ydata2 = [x * 2 for x in ydata]
ydata3 = [x * 5 for x in ydata]
chart2.add_serie(name="serie 1", y=ydata, x=xdata)
chart2.add_serie(name="serie 2", y=ydata2, x=xdata)
chart2.add_serie(name="serie 3", y=ydata3, x=xdata)
chart2
Is there any other data needed to identify if this is a bug or some sort of setup issue? For what it's worth, I'm up to 4 js based plotting libraries and they all fail except for altair with their various commands to render in jupyterlab. Not sure if that's related or not, but thought I'd mention it.
Using this example, I get an error and blank output.
Is there any other data needed to identify if this is a bug or some sort of setup issue? For what it's worth, I'm up to 4
js
based plotting libraries and they all fail except foraltair
with their various commands to render injupyterlab
. Not sure if that's related or not, but thought I'd mention it.output_notebook()
init_notebook_mode()
altair
works with it'salt.enable_mime_rendering()