Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commit7884314
committed
Redo colorbar overhaul.
Previous overhaul packaged an inner and outer axes in a container"ColorbarAxes" and tried to dispatch methods between them.This overhaul takes the _much_ simpler approach of resizing theimage using a custom _axes_locator that a) calls any existing locatorb) or just uses the axes default position. The custom _axes_locatorthen shrinks the axes in the appropriate direction to make room forextend tri/rectangles. As with the previous fix, the extendtri/rectangles are drawn as patches in axes co-ordinates, rather thanpcolormesh in "data" co-ordinates.1 parent4b7b2c9 commit7884314
File tree
14 files changed
+564
-563
lines changed- doc/api/next_api_changes/behavior
- lib
- matplotlib
- axes
- tests
- baseline_images
- test_axes
- test_colorbar
- test_contour
- mpl_toolkits/axes_grid1
14 files changed
+564
-563
lines changedLines changed: 0 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
4 |
| - | |
5 |
| - | |
6 |
| - | |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 | 1 |
| |
14 | 2 |
| |
15 | 3 |
| |
|
Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
575 | 575 |
| |
576 | 576 |
| |
577 | 577 |
| |
578 |
| - | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
579 | 583 |
| |
580 | 584 |
| |
581 | 585 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2371 | 2371 |
| |
2372 | 2372 |
| |
2373 | 2373 |
| |
| 2374 | + | |
| 2375 | + | |
2374 | 2376 |
| |
2375 | 2377 |
| |
2376 | 2378 |
| |
|
0 commit comments
Comments
(0)