Description
I have installed lightning-python to work on different visualizations using my python kernel in Jupyterhub. I then tried the sample python codes for different visulisations available on 'http://lightning-viz.org/visualizations'. All the visualizations work well but only the histogram sample code gives me error:
values = random.randn(100)
Lightning.histogram(values)
Below is the error I get:
Javascript error adding output!
Error: Module name "lightning-histogram" has not been loaded yet for context: _. Use require([]) http://requirejs.org/docs/errors.html#notloaded
See your browser Javascript console for more details
I tried installing the lightning-histogram package available seperately, but it still gives me same error!
When I Iooked in http://requirejs.org/docs/errors.html#notloaded as per the suggestion in error, I found that few changes had to be made in javascript code to avoid this error and I tried changing the same in index.js, histogram.js files, but still no luck.