-
-
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
Add scattermap
and map
to plotly.py templates similar to scattermapbox
and mapbox
#4879
Comments
Are there similar defaults in ddk that should be updated? |
Are the
|
@LiamConnors Are these templates auto generated? |
We should add |
It appears that |
Progress of a sort. Please note that I'm working off the master branch, which may not have the most up-to-date files.
I'm attaching pretty-printed versions of the old and new versions of plotly.json. The only difference is that the new version has an entry for scattermap as well as scattermapbox, while the old version only had scattermapbox. |
Thanks @gvwilson That's a good progress to help continue automation of this process. |
See #4879 for discussion. 1. Move material from `packages/python/plotly/templategen/__init__.py` to new file `packages/python/plotly/templategen/__main__.py` so that we can run `python -m templategen` from the `packages/python/plotly` directory. 2. Modify `packages/python/plotly/templategen/utils/__init__.py` to change `heatmapgl` reference to `heatmap`. 3. Run `python -m templategen` to generate new versions of the following files: - `packages/python/plotly/plotly/package_data/templates/ggplot2.json` - `packages/python/plotly/plotly/package_data/templates/plotly.json` - `packages/python/plotly/plotly/package_data/templates/plotly_dark.json` - `packages/python/plotly/plotly/package_data/templates/plotly_white.json` - `packages/python/plotly/plotly/package_data/templates/seaborn.json` - `packages/python/plotly/plotly/package_data/templates/simple_white.json`
I've created a new branch off |
In order for
scattermap
andmap
behave similar toscattermapbox
andmapbox
, we should addscattermap
andmap
to the templates insidepackages/python/plotly/plotly/package_data/templates/
.The text was updated successfully, but these errors were encountered: