Skip to content
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

Plotly FigureWidget Display Problem in Sphinx #5118

Open
atharva-2001 opened this issue Mar 28, 2025 · 1 comment
Open

Plotly FigureWidget Display Problem in Sphinx #5118

atharva-2001 opened this issue Mar 28, 2025 · 1 comment
Assignees
Labels
bug something broken P3 backlog

Comments

@atharva-2001
Copy link

Dear Plotly Team,
I'm from TARDIS(https://github.com/tardis-sn/tardis) and I was working on upgrading the TARDIS environment and realized that our FigureWidget plots were no longer being rendered our sphinx documentation. To test this out, I made a simple sphinx example code that mimics some of the problem.

I made a notebook with some FigureWidget code and was able to display the FigureWidget on sphinx, if a cell was displaying the plot from the last line-
https://atharva-2001.github.io/panel-sphinx/figurewidget.html

But if in the notebook the same cells are removed, it results in empty plots.
https://atharva-2001.github.io/panel-sphinx/figurewidget_without_cell.html

The code that generates both of the notebooks is the same-
https://github.com/atharva-2001/panel-sphinx/blob/main/source/figurewidget.py

Would you mind letting me know if this is a bug or if there is something wrong with my code? Or if I should be using some specific renderer?

@gvwilson
Copy link
Contributor

thanks for the issue report @atharva-2001 - I will see if I can find someone to look at this, but realistically it's going to be a while :-( thanks - @gvwilson

@gvwilson gvwilson added bug something broken P3 backlog labels Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken P3 backlog
Projects
None yet
Development

No branches or pull requests

3 participants