Skip to content

Refresh constructor registries after ticker reload#645

Merged
cvanelteren merged 3 commits intomainfrom
hotfix/constructor-registry-reload
Mar 20, 2026
Merged

Refresh constructor registries after ticker reload#645
cvanelteren merged 3 commits intomainfrom
hotfix/constructor-registry-reload

Conversation

@cvanelteren
Copy link
Collaborator

@cvanelteren cvanelteren commented Mar 20, 2026

Refresh the constructor formatter and locator registries after ultraplot.ticker reloads so helper constructors keep returning the current ticker classes.

This also adds a regression test covering the reload path that was breaking the SigFigFormatter isinstance check in CI.

@cvanelteren cvanelteren enabled auto-merge (squash) March 20, 2026 01:27
@cvanelteren cvanelteren merged commit 3f5a15e into main Mar 20, 2026
18 checks passed
@cvanelteren cvanelteren deleted the hotfix/constructor-registry-reload branch March 20, 2026 02:03
@codecov
Copy link

codecov bot commented Mar 20, 2026

Codecov Report

❌ Patch coverage is 77.46479% with 16 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
ultraplot/constructor.py 75.00% 10 Missing and 6 partials ⚠️

📢 Thoughts on this report? Let us know!

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.

1 participant