Commit c78c2f4
Refactoring: Removing axis parameter from scales (matplotlib#29988)
* Adding a decorator and Refactoring functions
* Fixing Ruff Errors
* Update scale.pyi
* Adding new line to the end of scale.pyi
* Update in docstring
* Fixing Handle Function
* Support optional axis in scales
Updated my refactor based on the feedbacks received
* Fixing ruff error
* change in parameters and in decorator
* parameter fix
* minor change in pyi
* Update lib/matplotlib/scale.py
Co-authored-by: Tim Hoffmann <[email protected]>
* Update lib/matplotlib/scale.py
Co-authored-by: Tim Hoffmann <[email protected]>
* Update lib/matplotlib/scale.py
Co-authored-by: Tim Hoffmann <[email protected]>
* Update lib/matplotlib/scale.pyi
Co-authored-by: Tim Hoffmann <[email protected]>
* Updating self and axis in pyi
* returning scale_factory to default
* Ruff checks
* description fix
* Update lib/matplotlib/scale.pyi
Co-authored-by: Tim Hoffmann <[email protected]>
* Undoing Unrelated Modifications
* fixing mypy tests
* Update lib/matplotlib/scale.pyi
Co-authored-by: Tim Hoffmann <[email protected]>
* keyword-argument suggestion
Co-authored-by: Elliott Sales de Andrade <[email protected]>
* kwargs pop before function call
Co-authored-by: Elliott Sales de Andrade <[email protected]>
---------
Co-authored-by: Tim Hoffmann <[email protected]>
Co-authored-by: Elliott Sales de Andrade <[email protected]>1 parent d05b43d commit c78c2f4
2 files changed
+68
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
106 | 154 | | |
107 | 155 | | |
108 | 156 | | |
109 | 157 | | |
110 | 158 | | |
111 | 159 | | |
112 | 160 | | |
| 161 | + | |
113 | 162 | | |
114 | 163 | | |
115 | 164 | | |
| |||
180 | 229 | | |
181 | 230 | | |
182 | 231 | | |
| 232 | + | |
183 | 233 | | |
184 | 234 | | |
185 | 235 | | |
| |||
279 | 329 | | |
280 | 330 | | |
281 | 331 | | |
282 | | - | |
| 332 | + | |
| 333 | + | |
283 | 334 | | |
284 | 335 | | |
285 | 336 | | |
| |||
330 | 381 | | |
331 | 382 | | |
332 | 383 | | |
| 384 | + | |
333 | 385 | | |
334 | 386 | | |
335 | 387 | | |
| |||
455 | 507 | | |
456 | 508 | | |
457 | 509 | | |
458 | | - | |
| 510 | + | |
| 511 | + | |
459 | 512 | | |
460 | 513 | | |
461 | 514 | | |
| |||
547 | 600 | | |
548 | 601 | | |
549 | 602 | | |
550 | | - | |
| 603 | + | |
| 604 | + | |
551 | 605 | | |
552 | 606 | | |
553 | 607 | | |
| |||
645 | 699 | | |
646 | 700 | | |
647 | 701 | | |
648 | | - | |
| 702 | + | |
| 703 | + | |
649 | 704 | | |
650 | 705 | | |
651 | 706 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
60 | | - | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
| |||
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
107 | | - | |
| 111 | + | |
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
| |||
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
141 | | - | |
| 145 | + | |
142 | 146 | | |
143 | 147 | | |
144 | 148 | | |
| |||
165 | 169 | | |
166 | 170 | | |
167 | 171 | | |
168 | | - | |
| 172 | + | |
169 | 173 | | |
170 | 174 | | |
171 | 175 | | |
| |||
176 | 180 | | |
177 | 181 | | |
178 | 182 | | |
| 183 | + | |
0 commit comments