Commit d94bc45
committed
Remove axis() manual argument parsing.
axis is now just a standard function taking 0-1 arguments. This change
*does* make it possible to call `axis(None)` as synonym for `axis()`, as
well as passing the sole argument under the name `arg` (unless we decide
to switch to positional-only args) but that seems fine.1 parent 13ab5fc commit d94bc45
File tree
4 files changed
+25
-28
lines changed- lib/matplotlib
- axes
- tests
- tools
4 files changed
+25
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2064 | 2064 | | |
2065 | 2065 | | |
2066 | 2066 | | |
2067 | | - | |
| 2067 | + | |
2068 | 2068 | | |
2069 | 2069 | | |
2070 | 2070 | | |
| |||
2122 | 2122 | | |
2123 | 2123 | | |
2124 | 2124 | | |
2125 | | - | |
2126 | | - | |
2127 | | - | |
2128 | | - | |
2129 | | - | |
2130 | | - | |
2131 | | - | |
2132 | | - | |
2133 | | - | |
2134 | | - | |
2135 | | - | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
2136 | 2132 | | |
2137 | | - | |
| 2133 | + | |
2138 | 2134 | | |
2139 | | - | |
| 2135 | + | |
| 2136 | + | |
2140 | 2137 | | |
2141 | 2138 | | |
2142 | 2139 | | |
2143 | | - | |
| 2140 | + | |
2144 | 2141 | | |
2145 | | - | |
| 2142 | + | |
2146 | 2143 | | |
2147 | 2144 | | |
2148 | | - | |
| 2145 | + | |
2149 | 2146 | | |
2150 | 2147 | | |
2151 | | - | |
| 2148 | + | |
2152 | 2149 | | |
2153 | 2150 | | |
2154 | 2151 | | |
2155 | | - | |
| 2152 | + | |
2156 | 2153 | | |
2157 | 2154 | | |
2158 | 2155 | | |
| |||
2163 | 2160 | | |
2164 | 2161 | | |
2165 | 2162 | | |
2166 | | - | |
| 2163 | + | |
2167 | 2164 | | |
2168 | 2165 | | |
2169 | | - | |
2170 | | - | |
| 2166 | + | |
2171 | 2167 | | |
2172 | | - | |
| 2168 | + | |
2173 | 2169 | | |
2174 | 2170 | | |
2175 | 2171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2355 | 2355 | | |
2356 | 2356 | | |
2357 | 2357 | | |
2358 | | - | |
2359 | | - | |
| 2358 | + | |
| 2359 | + | |
2360 | 2360 | | |
2361 | 2361 | | |
2362 | 2362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5429 | 5429 | | |
5430 | 5430 | | |
5431 | 5431 | | |
5432 | | - | |
5433 | | - | |
| 5432 | + | |
| 5433 | + | |
5434 | 5434 | | |
5435 | 5435 | | |
5436 | 5436 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
188 | 190 | | |
189 | | - | |
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
| |||
0 commit comments