ginkgobioworks / plotly-plot Goto Github PK
View Code? Open in Web Editor NEWPolymer element for the plotly.js library
Home Page: http://ginkgobioworks.github.io/plotly-plot
Polymer element for the plotly.js library
Home Page: http://ginkgobioworks.github.io/plotly-plot
First of all - great project!
'plotly-plot' elements don't render properly when embedded inside an iron-pages view.
Chrome/Canary seems to be the only browser that doesn't display correctly.
The demo does work, it is only when the plotly-plot element is inside the iron-pages view page that the display is incorrect.
Should be able to interact with the plotly element. Like this
The graph is displayed, but the plotly symbols are displayed below the page. Can't interact with the element. Like this
N/A
polymer init starter-package
bower install plotly-plot
<div class="card">
<plotly-plot id="the-plot"data='[{"x": [1, 2, 3], "y": [4, 11, 23]}]'>
</plotly-plot>
<div class="circle">1</div>
<h1>View One</h1>
<p>Ut labores minimum atomorum pro. Laudem tibique ut has.
<p>Lorem ipsum dolor sit amet, per in nusquam nominavi periculis, sit elit oportere ea.Lorem ipsum dolor sit amet, per in nusquam nominavi periculis, sit elit oportere ea.Cu mei vide viris gloriatur, at populo eripuit sit.</p>
</div>
Could you make this plot with responsive layout?
3d traces "overlap" eachother and only one can be visible at a time
I can view multiple 3d traces
I can only view 1
https://gist.github.com/Chris7/e309d4c7c3f07082886d749652338860
It would be nice use the element inside jupyter in the context of the declarative widget:
https://github.com/jupyter-incubator/declarativewidgets#including-a-web-component-in-a-notebook
Apparantly it does not work due to some involvement with requirejs/amd.
An approach that could be applied is loading plotly with requirejs using a shim. Please refert to jupyter/declarativewidgets#481 where you find the description of the issue.
Iteractive plot inside the jupyter notebook
static image if it is used
<script>
window.define = undefined
</script>
Otherwise the error
Plotly is not defined
refer to jupyter/declarativewidgets#481
not tested with the others
Are there any plans to support plotly stream api?
This would be a nice addition as well as a tool to work with real time data.
The hover functions and buttons all appear at the bottom of the page instead of within the plotly graph.
Buttons appear on top of Plotly graph.
Put plotly-plot element inside a view of the polymer starter kit.
Use the example from this repository's Readme.md
<div class="card">
<div class="circle">2</div>
<h1>View Two</h1>
<plotly-plot id="waveform" data='[{"x": [1, 2, 3], "y": [4, 11, 23]}]'></plotly-plot>
<p>Ea duis bonorum nec, falli paulo aliquid ei eum.</p>
</div>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.