scala-plotly-client | Visualise your data from Scala | Data Visualization library
kandi X-RAY | scala-plotly-client Summary
kandi X-RAY | scala-plotly-client Summary
Visualise your data from Scala using Plotly
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of scala-plotly-client
scala-plotly-client Key Features
scala-plotly-client Examples and Code Snippets
Community Discussions
Trending Discussions on scala-plotly-client
QUESTION
My aim is to display points in a 3D space/chart/graph. In python, it seems to be possible : https://plot.ly/python/3d-scatter-plots/
But in Scala, I didn't find this object/class/trait :
The Web site speaks only about surfaces : https://plot.ly/scala/
The Plotly's documentation doesn't contain
Scatter3d
but onlyScatter
, which doesn't seem to support 3D : https://asidatascience.github.io/scala-plotly-client/latest/api/#co.theasi.plotly.ScatterThe
ThreeDPlot
class seems impossible to display points in 3D without drawing surfaces : https://asidatascience.github.io/scala-plotly-client/latest/api/#co.theasi.plotly.ThreeDPlot, and the set of Z-coordinates is strange (e.g.Iterable[Iterable[Double]]
instead of something easier, e.g.Iterable[Double]
)The GitHub page's presentation use 3D points but display the only in a 2D space, by using only the X and Y coordinates : https://github.com/ASIDataScience/scala-plotly-client
ANSWER
Answered 2018-Jan-24 at 08:19You may use matplotlib (most especially mplot3d
)
Taking in consideration that matplotlib
does not support natively Scala, you need to convert your scala data to matplotlib format before display and/or use this module which is:
The missing MatPlotLib for Scala + Spark
Regards
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install scala-plotly-client
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page