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:

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]",dashandplotly, 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: