You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Deenar Toraskar <de...@gmail.com> on 2017/05/17 12:37:08 UTC

Plotly js file is not included in Zeppelin 0.7.1

Hi

I have spotted a regression between  Zeppelin 0.7.1 and  Zeppelin 0.7.0.
Previously Zeppelin bundled plotly javascript files and the following code
worked fine.

%spark.pyspark



data = [{

'z': [[1, 20, 30, 50, 1], [20, 1, 60, 80, 30], [30, 60, 1, -10, 20]],

'x': ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'],

'y': ['Morning', 'Afternoon', 'Evening'], 'type': 'heatmap'

}]



zplot(data, include_plotlyjs=False)



After upgrading to Zeppelin 0.7.1m the chart no longer renders. The errors
show plotly.directive.js and other Javascript include not present the
location Zeppelin look for them.


The error goes away if we, include_plotlyjs, but this slows down the
notebooks a lot.


zplot(data, include_plotlyjs=True)


Has anyone seem this before?


Regards

Deenar