Skip to content

Preserve metric layout across UI updates#402

Closed
Priyanka-2725 wants to merge 2 commits into
gradio-app:mainfrom
Priyanka-2725:main
Closed

Preserve metric layout across UI updates#402
Priyanka-2725 wants to merge 2 commits into
gradio-app:mainfrom
Priyanka-2725:main

Conversation

@Priyanka-2725
Copy link
Copy Markdown

Thank you for your contribution! All PRs should include the following sections. PRs missing these sections may be closed immediately.

Short description

This PR fixes an issue where the metric layout was being reset when the X-axis counter was changed (e.g. step to epoch) or when a run was removed from the displayed list.

AI Disclosure

We encourage the use of AI tooling in creating PRs, but the any non-trivial use of AI needs be disclosed. E.g. if you used Claude to write a first draft, you should mention that. Trivial tab-completion doesn't need to be disclosed. You should self-review all PRs, especially if they were generated with AI.


  • [ x] I used AI to help implement and refine the changes (GitHub Copilot was used for code suggestions).
  • I did not use AI

Type of Change

  • [x ] Bug fix
  • New feature (non-breaking)
  • New feature (breaking change)
  • Documentation update
  • Test improvements

Related Issues

If this PR closes an issue, please link it below:

Closes: #260

Testing and linting

Please run tests before submitting changes:

python -m pytest

and format your code using Ruff:

ruff check --fix --select I && ruff format

@gradio-pr-bot
Copy link
Copy Markdown
Contributor

gradio-pr-bot commented Jan 20, 2026

🪼 branch checks and previews

Name Status URL
🦄 Changes detected! Details

@gradio-pr-bot
Copy link
Copy Markdown
Contributor

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
trackio patch

  • Preserve metric layout across UI updates

‼️ Changeset not approved. Ensure the version bump is appropriate for all packages before approving.

  • Maintainers can approve the changeset by checking this checkbox.

Something isn't right?

  • Maintainers can change the version label to modify the version bump.
  • If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can update the changelog file directly.

@abidlabs
Copy link
Copy Markdown
Member

Hi did you test this PR? Can you share a screen recording of it working for you?

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@abidlabs
Copy link
Copy Markdown
Member

Going to close this AI generated PR

@abidlabs abidlabs closed this Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preserve metric layout across axis & run changes

4 participants