Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Refactoring: Removing axis parameter from scales#29988

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
QuLogic merged 25 commits intomatplotlib:mainfromvagnermcj:refactor-for-issue-29349
Jun 27, 2025
Merged
Changes from1 commit
Commits
Show all changes
25 commits
Select commitHold shift + click to select a range
47ae63b
Adding a decorator and Refactoring functions
vagnermcjApr 29, 2025
5c5ddd2
Fixing Ruff Errors
vagnermcjMay 13, 2025
b770f6d
Update scale.pyi
vagnermcjMay 13, 2025
16cef9d
Adding new line to the end of scale.pyi
vagnermcjMay 13, 2025
698c35f
Update in docstring
vagnermcjMay 13, 2025
8a0d3c7
Fixing Handle Function
vagnermcjMay 13, 2025
11c9bb8
Support optional axis in scales
vagnermcjMay 20, 2025
25bdfc2
Fixing ruff error
vagnermcjMay 20, 2025
00214f6
change in parameters and in decorator
vagnermcjMay 20, 2025
4cf2dde
parameter fix
vagnermcjMay 20, 2025
2e691c6
minor change in pyi
vagnermcjMay 20, 2025
618054d
Update lib/matplotlib/scale.py
vagnermcjMay 27, 2025
a1002b3
Update lib/matplotlib/scale.py
vagnermcjMay 27, 2025
2ea3468
Update lib/matplotlib/scale.py
vagnermcjMay 27, 2025
0e7dbc5
Update lib/matplotlib/scale.pyi
vagnermcjMay 27, 2025
fa15c3a
Updating self and axis in pyi
vagnermcjMay 29, 2025
d9f5722
returning scale_factory to default
vagnermcjMay 29, 2025
8aebcc0
Ruff checks
vagnermcjMay 29, 2025
6da5188
description fix
vagnermcjMay 29, 2025
9b7cce4
Update lib/matplotlib/scale.pyi
vagnermcjJun 6, 2025
9c9101e
Undoing Unrelated Modifications
vagnermcjJun 6, 2025
5d7303f
fixing mypy tests
vagnermcjJun 6, 2025
dabac62
Update lib/matplotlib/scale.pyi
vagnermcjJun 7, 2025
75896a2
keyword-argument suggestion
vagnermcjJun 26, 2025
bd8a135
kwargs pop before function call
vagnermcjJun 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Update lib/matplotlib/scale.py
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
  • Loading branch information
@vagnermcj@timhoffm
vagnermcj andtimhoffm committedJun 26, 2025
commit2ea3468733272338f8976ca95ce8a7bfeed85390
7 changes: 5 additions & 2 deletionslib/matplotlib/scale.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -109,8 +109,11 @@ def _make_axis_parameter_optional(init_func):
Decorator to allow leaving out the *axis* parameter in scale constructors.

This decorator ensures backward compatibility for scale classes that
previously required an *axis* parameter. It allows constructors to work
seamlessly with or without the *axis* parameter.
previously required an *axis* parameter. It allows constructors to be
callerd with or without the *axis* parameter.

For simplicity, this does not handle the case when *axis* is passed as a keyword. Howver,
scanning GitHub, there's no evidence that that is used anywhere.

Parameters
----------
Expand Down

[8]ページ先頭

©2009-2026 Movatter.jp