Skip to content

Interactive figures in sphinx/readthedocs? #223

@nvaytet

Description

@nvaytet

Hi,

I was wondering if it was possible to embed the interactive figures in the sphinx documentation pages.

All the ipywidgets are visible and interactive in the doc pages (https://ipywidgets.readthedocs.io/en/stable/examples/Widget%20List.html).

I tried building my documentation with ipympl instead of the inline backend, but only the control buttons are showing up, not the figure:
Screenshot_2020-05-15_08-32-25
instead of
Screenshot_2020-05-15_08-32-44
with the inline backend.

I'm thinking in principle, the figure is just using some javascript to display it in jupyter, so it should also be possible to show it in the doc pages.
Many thanks for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions