-
-
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
Building doc directory - mapbox_token needed #3483
Comments
Clarifying my comment - perhaps this should be a separate issue? I'm most interested in an older version of plotly python library. In the github version, removing the mapbox section from Makefile: $(IPYNB_DIR)/.mapbox_token: $(MD_DIR)/.mapbox_token
@mkdir -p $(IPYNB_DIR)
@echo "[symlink] .mapbox_token"
@cd $(IPYNB_DIR) && ln -s ../../$<
$(IPYNB_FILES): $(IPYNB_DIR)/.mapbox_token Appears to allow almost everything to build correctly. Dies at notebooks that require mapbox.
However in older versions If I comment out/remove the mapbox_token section, running I'm not sure if this is due to mapbox portions not working or other error that is different. I suspect that the problem is due to some version mismatch of other software (Jupyter, Python, etc.) |
The contents of .mapbox_token should just be a valid mapbox.com token. It's just a matter of signing up and getting a free token :) |
Thanks @nicolaskruchten ! I created a free account, then copied my "Default public token" to the file While the build is still running, it seems to be working so far. As this step seems to be missing from the docs (or at least is not in the README.md) I've created a fork and made a minor documentation update pull request. Will push shortly. |
Build requires a mapbox token, but did not mention that in the documentation. This should help with issue plotly#3483
Adding setup details for mapbox token to help with plotly#3483
I stumbled on this when also looking to create offline doc (for Zeal). The doc was enough to fix my problem, thanks to the doc fix by @magic-lantern. I think the issue can be closed @nicolaskruchten |
Guess I forgot about this. Since they already merged my documentation fix, closing this issue. |
I'm wanting to build a version of plotly for offline use - specifically the documentation.
When I follow the very simple directions provided at https://github.com/plotly/plotly.py/tree/master/doc I do the following:
I get the following error:
I'm not able to find information about mapbox_token.
The text was updated successfully, but these errors were encountered: