Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Stabilize pytest-mpl styling and colormap lookups#528

Merged
cvanelteren merged 6 commits into
mainUltraplot/UltraPlot:mainfrom
fix/pytest-mpl-styleUltraplot/UltraPlot:fix/pytest-mpl-styleCopy head branch name to clipboard
Feb 1, 2026
Merged

Stabilize pytest-mpl styling and colormap lookups#528
cvanelteren merged 6 commits into
mainUltraplot/UltraPlot:mainfrom
fix/pytest-mpl-styleUltraplot/UltraPlot:fix/pytest-mpl-styleCopy head branch name to clipboard

Conversation

@cvanelteren

@cvanelteren cvanelteren commented Feb 1, 2026

Copy link
Copy Markdown
Collaborator

This tightens a few reliability issues in the test/docs pipeline. The demo font test now chooses a deterministic, preferred font so its mpl baseline is stable locally. Colormap lookups accept colormap objects directly, which fixes the Read the Docs build error when a ContinuousColormap is passed through. Added a small regression test for colormap object lookups.

@cvanelteren

Copy link
Copy Markdown
Collaborator Author

Locally it closes #524

@cvanelteren cvanelteren changed the title Stabilize pytest-mpl styling to match UltraPlot image baselines Stabilize pytest-mpl styling and colormap lookups Feb 1, 2026
@cvanelteren

Copy link
Copy Markdown
Collaborator Author

Merging to avoid the base difference

@cvanelteren cvanelteren merged commit 18f6e04 into main Feb 1, 2026
15 of 23 checks passed
@cvanelteren cvanelteren deleted the fix/pytest-mpl-style branch February 1, 2026 04:25
K-Mirembe-Mercy pushed a commit to K-Mirembe-Mercy/UltraPlot that referenced this pull request Mar 22, 2026
* Add threaded rc cycle consistency test

* Stabilize pytest-mpl style for image tests

* Black formatting

* Stabilize show_fonts demo test

* Allow colormap objects in colormap lookups

* Test colormap object lookups
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.