-
Notifications
You must be signed in to change notification settings - Fork 8
feat: enable matplotlib and plotly in examples #567
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
|
Plotly and matplotlib are supported. Main issue here is that the different extensions are getting in conflict because "sphinx-gallery" generates a bunch of files. Still working on it. |
|
What's the status with this PR? It's been going on since Oct 2024 |
We are working on this and trying to get this with theme v1.4 |
|
tested with ansys/pymapdl#2346 |
jorgepiloto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there, just left some comments.
Co-authored-by: Jorge Martínez <[email protected]>
Incorporated all the comments, Thanks @jorgepiloto |
|
Thanks for taking the lead here, @Revathyvenugopal162. Merging. |
This pull-request fixes #301 by ensuring plotly is supported in our theme. Matplotlib support is explored too.
summary
We had to add our own hook because we support both
nbsphinxandsphinx-gallerysimultaneously. This was causing nbsphinx to execute notebooks generated by sphinx-gallery again, leading to errors.But this is specifically for ansys-sphinx-theme
Additionally, regarding Plotly (which was the original focus of this PR), insights are:
Images
Sphinx gallery
nbsphinx
