Commit 403034e
committed
Use the new api definitions in all api calls.
Note that the `apigetfile` did some weird things to convert old-style
plotlyjs figures (e.g. `type: ‘histogramx’`) to new-style versions.
I wanted to ween us off the old api, so this makes the change from
`/apigetfile` —> `/v2/plots/[fid]/content?inline_data=true`.
The `_swap*` functionality was copied from `plotly/streambed` code,
directly from the backend’s implementation of `apigetfile`.1 parent c0c6e6c commit 403034e
File tree
2 files changed
+246
-417
lines changed- plotly
- plotly
- tests/test_core/test_grid
2 files changed
+246
-417
lines changed
0 commit comments