Skip to content

Allow customzing the trackio color palette#339

Merged
abidlabs merged 5 commits into
mainfrom
colors
Nov 7, 2025
Merged

Allow customzing the trackio color palette#339
abidlabs merged 5 commits into
mainfrom
colors

Conversation

@abidlabs
Copy link
Copy Markdown
Member

@abidlabs abidlabs commented Nov 6, 2025

And also updates the default color palette away from the harsh red/blue/green:

image

to a warmer muave, amber, blue

image

Short description

This PR... [fill here]

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.


  • I used AI to add the env variable and cli commands after updating the default the color pallette myself. Reviewed all code
  • I did not use AI

Type of Change

  • 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:

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 Nov 6, 2025

🪼 branch checks and previews

Name Status URL
🦄 Changes detected! Details

@gradio-pr-bot
Copy link
Copy Markdown
Contributor

gradio-pr-bot commented Nov 6, 2025

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
trackio minor

  • Allow customzing the trackio color palette

✅ Changeset approved by @abidlabs

  • Maintainers can remove approval by unchecking 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.

@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.

Comment thread trackio/__init__.py
functions will be added as MCP tools. If `None` (default behavior), then the
`GRADIO_MCP_SERVER` environment variable will be used to determine if the
MCP server should be enabled (which is `"True"` on Hugging Face Spaces).
color_palette (`list[str]`, *optional*):
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idea for future: support named palette, like "pastel", "rainbow" etc

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep sounds good!

@abidlabs abidlabs enabled auto-merge (squash) November 7, 2025 20:31
@abidlabs abidlabs merged commit 011d91b into main Nov 7, 2025
6 checks passed
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.

4 participants