Skip to content

docs(aggregation): Add hosted interactive plotter webapp - #772

Open
KhusPatel4450 wants to merge 1 commit into
SimplexLab:mainfrom
KhusPatel4450:feat/interactive-plotter-webapp
Open

docs(aggregation): Add hosted interactive plotter webapp#772
KhusPatel4450 wants to merge 1 commit into
SimplexLab:mainfrom
KhusPatel4450:feat/interactive-plotter-webapp

Conversation

@KhusPatel4450

Copy link
Copy Markdown
Contributor

Adds a self-contained Dash webapp in visualization/ that hosts the interactive gradient plotter, and a GitHub Actions workflow that auto-deploys it to Hugging Face Spaces on every push to main.

  • visualization/app.py, Dash app refactored from tests/plots/interactive_plotter.py
  • visualization/_utils.py, plotting utilities (copy of tests/plots/_utils.py)
  • visualization/requirements.txt + visualization/Dockerfile, for HF Spaces (Docker SDK)
  • visualization/README.md, HF Spaces metadata
  • .github/workflows/deploy-visualization.yml, deploys visualization/ to HF Spaces on push to main

The app accepts query parameters so individual aggregator pages can embed it with a pre-selected method (as suggested by @PierreQuinton)

Before we can deploy we need to do this:

  1. Create a Hugging Face Space at torchjd/interactive-plotter with Docker as the SDK
  2. Add HF_TOKEN (an HF token with write access to that Space) as a GitHub Actions secret

Once those are in place, any push to main that touches visualization/ will redeploy automatically

@KhusPatel4450 KhusPatel4450 added the cc: feat Conventional commit type for new features. label Aug 1, 2026
@ValerianRey

Copy link
Copy Markdown
Member

Thank you very much for taking this! Could you deploy it on under some random name on HF so that we it already?

@ValerianRey ValerianRey added cc: docs Conventional commit type for changes to the documentation. package: aggregation and removed cc: feat Conventional commit type for new features. labels Aug 1, 2026
@github-actions github-actions Bot changed the title feat: Add hosted interactive plotter webapp docs(aggregation): Add hosted interactive plotter webapp Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cc: docs Conventional commit type for changes to the documentation. package: aggregation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants