Skip to content

Plotly FigureWidget Display Problem in Sphinx #5118

Open
@atharva-2001

Description

@atharva-2001

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?

Metadata

Metadata

Assignees

Labels

P3backlogbugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions