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

Refactor init figure#687

Merged
cvanelteren merged 2 commits into
mainUltraplot/UltraPlot:mainfrom
chore/refactor-init-figureUltraplot/UltraPlot:chore/refactor-init-figureCopy head branch name to clipboard
Apr 15, 2026
Merged

Refactor init figure#687
cvanelteren merged 2 commits into
mainUltraplot/UltraPlot:mainfrom
chore/refactor-init-figureUltraplot/UltraPlot:chore/refactor-init-figureCopy head branch name to clipboard

Conversation

@cvanelteren

Copy link
Copy Markdown
Collaborator

Partially addresses #677

This marks the first change to the figure class to make it more readable and less of a monolith. Many of the functions are difficult to analyse due to the high cognitive load being put on the user to generate a mental map of what is going in what function -- and some are frankly rather long.

This refactors the init function for the Figure class to (hopefully) sensible helpers.

@codecov

codecov Bot commented Apr 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.17647% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
ultraplot/figure.py 91.17% 1 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

@cvanelteren cvanelteren merged commit 2f929f7 into main Apr 15, 2026
19 checks passed
@cvanelteren cvanelteren deleted the chore/refactor-init-figure branch April 15, 2026 05:28
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.