Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commit83c2d7b
committed
Allow sharex/y after axes creation.
This intentionally does not allow unsharing or changing the shared axes,as there are bigger questions on the API there.The API is named `Axes.sharex()` to allow for a later `Axes.unsharex()`,though (`set_sharex()` would be fine, but `set_unsharex()`? or perhaps`set_sharex(None)`, though).An example use case is creating a grid with `subplots()`, but withcustom sharing relationships between the subplots -- e.g., sharex/shareyacross all, except the first row of axes which only shares x with theircolumn and the first column which only shares y with their lines.1 parentab2d200 commit83c2d7b
File tree
4 files changed
+80
-31
lines changed- doc
- api
- users/next_whats_new
- examples/subplots_axes_and_figures
- lib/matplotlib/axes
4 files changed
+80
-31
lines changedLines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
447 | 447 |
| |
448 | 448 |
| |
449 | 449 |
| |
450 |
| - | |
451 |
| - | |
| 450 | + | |
| 451 | + | |
452 | 452 |
| |
453 | 453 |
| |
454 | 454 |
| |
| |||
458 | 458 |
| |
459 | 459 |
| |
460 | 460 |
| |
| 461 | + | |
| 462 | + | |
| 463 | + | |
461 | 464 |
| |
462 | 465 |
| |
463 | 466 |
| |
|
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + |
Lines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
176 | 176 |
| |
177 | 177 |
| |
178 | 178 |
| |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
179 | 196 |
| |
180 | 197 |
| |
181 | 198 |
| |
|
Lines changed: 50 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
487 | 487 |
| |
488 | 488 |
| |
489 | 489 |
| |
490 |
| - | |
491 |
| - | |
492 |
| - | |
493 |
| - | |
494 |
| - | |
495 |
| - | |
496 |
| - | |
497 |
| - | |
498 |
| - | |
499 |
| - | |
| 490 | + | |
| 491 | + | |
500 | 492 |
| |
501 | 493 |
| |
502 | 494 |
| |
| |||
515 | 507 |
| |
516 | 508 |
| |
517 | 509 |
| |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
518 | 515 |
| |
519 | 516 |
| |
520 | 517 |
| |
| |||
1008 | 1005 |
| |
1009 | 1006 |
| |
1010 | 1007 |
| |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
1011 | 1046 |
| |
1012 | 1047 |
| |
1013 | 1048 |
| |
| |||
1031 | 1066 |
| |
1032 | 1067 |
| |
1033 | 1068 |
| |
1034 |
| - | |
1035 |
| - | |
1036 |
| - | |
1037 |
| - | |
1038 |
| - | |
1039 |
| - | |
1040 |
| - | |
1041 |
| - | |
| 1069 | + | |
1042 | 1070 |
| |
1043 | 1071 |
| |
1044 | 1072 |
| |
1045 | 1073 |
| |
1046 | 1074 |
| |
1047 | 1075 |
| |
1048 |
| - | |
1049 | 1076 |
| |
1050 |
| - | |
1051 |
| - | |
1052 |
| - | |
1053 |
| - | |
1054 |
| - | |
1055 |
| - | |
| 1077 | + | |
1056 | 1078 |
| |
1057 | 1079 |
| |
1058 | 1080 |
| |
1059 | 1081 |
| |
1060 | 1082 |
| |
1061 | 1083 |
| |
| 1084 | + | |
1062 | 1085 |
| |
1063 | 1086 |
| |
1064 | 1087 |
| |
1065 |
| - | |
1066 | 1088 |
| |
1067 | 1089 |
| |
1068 | 1090 |
| |
| |||
1144 | 1166 |
| |
1145 | 1167 |
| |
1146 | 1168 |
| |
1147 |
| - | |
| 1169 | + | |
1148 | 1170 |
| |
1149 | 1171 |
| |
1150 |
| - | |
1151 |
| - | |
| 1172 | + | |
1152 | 1173 |
| |
1153 | 1174 |
| |
1154 | 1175 |
| |
|
0 commit comments
Comments
(0)