Skip to content

Make the interactive plotter available from the docs #770

Description

@ValerianRey

It would be really nice to be able to play with the interactive plotter directly from the docs of torchjd. For that, we would need some kind of webapp, that has access to an environment with python and torchjd installed.

At first, the URL could be anything, but then if it works well enough we can assign this to some subdomain of torchjd.org, like visualization.torchjd.org, and we can add a link to it from the docs, and / or from the README, and / or from the paper itself.

The required python deps to run this should be at least "torchjd[full]", dash and plotly, on top of whatever is required to make the webapp.
At first I think we can get away with only the features that are currently available in the interactive plotter (resizing gradients, changing angle, and so on). The code is available at: TorchJD/tests/plots/interactive_plotter.py.

Note that the current interactive plotter is already something that is used from within a web browser, so the transition should be doable easily. It currently looks like this:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    cc: docsConventional commit type for changes to the documentation.good first issueIssue that should be easy to solve for new contributorspackage: aggregation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions