Commit 899af8e
committed
Reorganize colorbar docstrings.
- Figure.colorbar and pyplot.colorbar can use the docstring (no need to
restate the signatures, IPython/pydoc/sphinx does that for you).
- Deprecate some docstrings that exist as globals at the module level.
- Clarify what happens when `cax` and `ax` are both given (we can always
emit a warning and deprecate that behavior later).1 parent f6ff8db commit 899af8e
4 files changed
Lines changed: 17 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | 87 | | |
89 | | - | |
| 88 | + | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
| |||
149 | 148 | | |
150 | 149 | | |
151 | 150 | | |
152 | | - | |
153 | | - | |
| 151 | + | |
154 | 152 | | |
155 | 153 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | 154 | | |
165 | 155 | | |
166 | 156 | | |
| |||
179 | 169 | | |
180 | 170 | | |
181 | 171 | | |
182 | | - | |
183 | | - | |
184 | | - | |
| 172 | + | |
| 173 | + | |
185 | 174 | | |
186 | 175 | | |
187 | 176 | | |
| |||
198 | 187 | | |
199 | 188 | | |
200 | 189 | | |
| 190 | + | |
201 | 191 | | |
202 | 192 | | |
203 | 193 | | |
| |||
225 | 215 | | |
226 | 216 | | |
227 | 217 | | |
| 218 | + | |
228 | 219 | | |
229 | | - | |
230 | | - | |
231 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
232 | 224 | | |
233 | 225 | | |
234 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2315 | 2315 | | |
2316 | 2316 | | |
2317 | 2317 | | |
2318 | | - | |
2319 | | - | |
2320 | | - | |
2321 | | - | |
2322 | | - | |
2323 | | - | |
| 2318 | + | |
2324 | 2319 | | |
2325 | 2320 | | |
2326 | 2321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2172 | 2172 | | |
2173 | 2173 | | |
2174 | 2174 | | |
| 2175 | + | |
2175 | 2176 | | |
2176 | 2177 | | |
2177 | 2178 | | |
| |||
2184 | 2185 | | |
2185 | 2186 | | |
2186 | 2187 | | |
2187 | | - | |
2188 | 2188 | | |
2189 | 2189 | | |
2190 | 2190 | | |
| |||
0 commit comments