Skip to content

Refactor keyword aliases behind a compatibility layer - #818

Open
cvanelteren wants to merge 5 commits into
mainfrom
refactor/canonical-aliases
Open

Refactor keyword aliases behind a compatibility layer#818
cvanelteren wants to merge 5 commits into
mainfrom
refactor/canonical-aliases

Conversation

@cvanelteren

@cvanelteren cvanelteren commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Continuation of our discussion in #808

UltraPlot has many (many many) aliases. Some love them, some hate them. This PR proposes to move them away from function signatures, to remain with a smaller set, and pushing the rest into a specific decorator. This allows for a smaller function description in stuff like pylance.

I added a small applet in the docs that shows all the aliases, and shows where they can be added etc. Open for feedback!

@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.19388% with 11 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
ultraplot/internals/kwargs.py 90.47% 5 Missing and 3 partials ⚠️
ultraplot/axes/plot.py 89.28% 1 Missing and 2 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