Commit e36bffb
Add explicit getter / setter overloads for pyplot.{xlim,ylim} (matplotlib#30199)
* Add xlim / ylim autogeneration
- Create get_signature method
- Create AXES_GETTER_SETTER_TEMPLATE
- Create call_param method on generate_function
(cherry picked from commit e57b321)
* Format with ruff
(cherry picked from commit 64e7921)
* Remove old xlim and ylim
(cherry picked from commit 66ee071)
* Format with ruff
* Revert superfluous changes
* Revert boilerplate.py and manually copy xlim and ylim overloads on pyplot.py
* Remove incorrect comment about autogenerated method
---------
Co-authored-by: Corenthin ZOZOR <[email protected]>1 parent 4b03f0c commit e36bffb
1 file changed
+36
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2115 | 2115 | | |
2116 | 2116 | | |
2117 | 2117 | | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
2118 | 2136 | | |
2119 | 2137 | | |
2120 | 2138 | | |
| |||
2152 | 2170 | | |
2153 | 2171 | | |
2154 | 2172 | | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
| 2183 | + | |
| 2184 | + | |
| 2185 | + | |
| 2186 | + | |
| 2187 | + | |
| 2188 | + | |
| 2189 | + | |
| 2190 | + | |
2155 | 2191 | | |
2156 | 2192 | | |
2157 | 2193 | | |
| |||
0 commit comments