-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wip] - ipyplotly fixes #956
Conversation
New codegen logic in codegen/ New datatype classes generated into plotly/datatypes/ (These are gitignored) New validator classes generated into plotly/validators/ (These are gitignored) Code generation in update_graph_objs.py modified to map Figure, Layout, and Trace types to new plotly/datatypes/ classes. All other classes mapped to raw dicts/lists.
It's now possible to execute a fair amount of legacy graph construction and plotting code
TODO: add support for datetime arrays in validation and in widget serialization
Added js/ directory containing front-end widget library Added graph_objs.FigureWidget class that maps to datatypes.FigureWidget
These are mostly just for discussion during the WIP integration process.
we’ll end up adding a lot of this stuff back at the end. for now, let’s just only test python 35
use same versions as what is specified in `optional`. ultimately, we’ll want to remove these and only include them for the ‘build’ environment
Test Results
|
With error messages:
|
Summary of test failures:
|
@chriddyp I started looking at the subplot properties ending in 1 errors (e.g. Here is the JSON schema snippet for
These regular expressions exclude anchor strings like I haven't dug into the current Python logic or the Plotly.js handling, but do you think Plotly.js accepts anchors like |
Testing issues:
|
working off of #942