Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commitd8cf8f3
committed
Revert renaming labels to tick_labels in boxplot_stats()
This is up for debate: I'm only +0.2 here.The renaming was done in#27901, which renamed the parameter `labels`to `tick_labels` for `boxplot()` and `bxp()`.One can take two views here:- If `boxplot_stats()` is specifically for the input of `bxp()`, one can justify the renaming as being consistent with the `bxp()` signature. Note however, that the returned dict still contains the key "label" for back-compatibility. So that brings us an inconsistency between the parameter name and the returned dict key.- One can alternatively view `boxplot_stats()` as a generic function to define box parameters. Here, we'd only have a general `label` for the boy and no information that this should be used as tick label.If we could make a clean transition and also rename the dict key, Iwould tend to go with the first view. But the inevitable inconsistencyof the fist view let's me sway towards the second view, so that withthe revert, we've effectively not touched `boxplot_stats()`.1 parent6368cc5 commitd8cf8f3
1 file changed
+7
-12
lines changedLines changed: 7 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1126 | 1126 |
| |
1127 | 1127 |
| |
1128 | 1128 |
| |
1129 |
| - | |
1130 |
| - | |
| 1129 | + | |
1131 | 1130 |
| |
1132 | 1131 |
| |
1133 | 1132 |
| |
| |||
1162 | 1161 |
| |
1163 | 1162 |
| |
1164 | 1163 |
| |
1165 |
| - | |
| 1164 | + | |
1166 | 1165 |
| |
1167 | 1166 |
| |
1168 | 1167 |
| |
1169 |
| - | |
1170 |
| - | |
1171 |
| - | |
1172 |
| - | |
1173 | 1168 |
| |
1174 | 1169 |
| |
1175 | 1170 |
| |
| |||
1245 | 1240 |
| |
1246 | 1241 |
| |
1247 | 1242 |
| |
1248 |
| - | |
1249 |
| - | |
1250 |
| - | |
1251 |
| - | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
1252 | 1247 |
| |
1253 | 1248 |
| |
1254 |
| - | |
| 1249 | + | |
1255 | 1250 |
| |
1256 | 1251 |
| |
1257 | 1252 |
| |
|
0 commit comments
Comments
(0)