-
Notifications
You must be signed in to change notification settings - Fork 1.1k
attempt to demonstrate usage of plotly as a wrapper, issue #861 #871
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
Conversation
Thanks for the contribution @UGuntupalli. I think you'll need to add Lines 49 to 50 in 363884d
Hopefully that will get Readthedocs to render the pull request and we can get a better idea of what we're looking at. |
@wholmgren : Will, please try now, I added plotly to the |
The documentation now builds, but I don't see any plot output on the readthedocs rendering of the page: https://external-builds.readthedocs.io/html/pvlib-python/871/auto_examples/plot_using_plotly_wrapper.html#sphx-glr-auto-examples-plot-using-plotly-wrapper-py Any ideas? I don't know anything about plotly, sorry. |
Out of the box, sphinx-gallery only knows how to capture output from a few plotting packages. I think you'll need to configure sphinx to capture ("scrape" in sphinx-gallery lingo) plotly output as well for it to show up in the built documentation. I've never done it, but here's an example: https://github.com/plotly/plotly-sphinx-gallery/blob/master/docs/conf.py#L187-L198 |
it might be worth pinging Chris Holdgraf either here on GH or Twitter (handle: choldgraf), I think he has responded to DM's in the past. |
@UGuntupalli I cloned this branch to my computer and was able to get the docs to build correctly with three changes:
Details:
|
the name implies that this is a private module - is that right? This example might be too much of a maintenance burden for pvlib at this time. Perhaps it would be better to create a gist and advertise it on the mailing list. |
As far as I've found, As far as maintenance burden: I forgot to mention that the scraper also requires |
Perhaps worth pursuing in the future but I'm going to close for now since I don't see a reasonable way of making this work in the short term. |
docs/sphinx/source/api.rst
for API changes.docs/sphinx/source/whatsnew
for all changes. Includes link to the GitHub Issue with:issue:`num`
or this Pull Request with:pull:`num`
. Includes contributor name and/or GitHub username (link with:ghuser:`user`
).(https://numpydoc.readthedocs.io/en/latest/format.html) compliant docstrings, examples, and comments where necessary.