Open spmp opened 7 years ago
We solved it here https://github.com/RetailRocket/ToreeExt
Awesome, I will check it out soon.
The example does not work for me. Will comment on that project and report success back here.
Did you solve it?
Did you solve it?
I am trying your examples in a jupyter notebook using Toree and having a few issues:
plotly-render
andplotly-core
from maven coordinates. It works with URL to the jar:--transitive
) form a maven coordinate. What other dependencies should be fetched for Plotly?plotly.JupyterScala.init()
Name: Compile Error Message::95: error: erroneous or inaccessible type
val res106 =
^
StackTrace:
val trace1 = Scatter( Seq(1, 2, 3, 4), Seq(10, 15, 13, 17) ) val trace2 = Scatter( Seq(1, 2, 3, 4), Seq(16, 5, 11, 9) ) val data = Seq(trace1, trace2) Plotly.plot("div-id", data)
Name: Compile Error Message::108: error: not enough arguments for method plot: (path: String, traces: Seq[plotly.Trace], layout: plotly.layout.Layout, useCdn: Boolean, openInBrowser: Boolean, addSuffixIfExists: Boolean)java.io.File.
Unspecified value parameter layout.
Plotly.plot("div-id", data)
^
StackTrace:
Name: Compile Error Message: error: missing or invalid dependency detected while loading class file 'JupyterScala.class'. Could not access term jupyter in package,
because it (or its dependencies) are missing. Check your build definition for
missing or conflicting dependencies. (Re-run with .
error: missing or invalid dependency detected while loading class file 'JupyterScala.class'.
Could not access type Publish in value .api,
because it (or its dependencies) are missing. Check your build definition for
missing or conflicting dependencies. (Re-run with .api.
error: missing or invalid dependency detected while loading class file 'JupyterScala.class'.
Could not access term api in value jupyter,
because it (or its dependencies) are missing. Check your build definition for
missing or conflicting dependencies. (Re-run with
-Ylog-classpath
to see the problematic classpath.) A full rebuild may help if 'JupyterScala.class' was compiled against an incompatible version of-Ylog-classpath
to see the problematic classpath.) A full rebuild may help if 'JupyterScala.class' was compiled against an incompatible version of-Ylog-classpath
to see the problematic classpath.) A full rebuild may help if 'JupyterScala.class' was compiled against an incompatible version of jupyter.