{{ message }}
Commit 277b5eb
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 the
image using a custom _axes_locator that a) calls any existing locator
b) or just uses the axes default position. The custom _axes_locator
then shrinks the axes in the appropriate direction to make room for
extend tri/rectangles. As with the previous fix, the extend
tri/rectangles are drawn as patches in axes co-ordinates, rather than
pcolormesh in "data" co-ordinates.1 parent 8c764dc commit 277b5eb
14 files changed
Lines changed: 564 additions & 565 deletions
File tree
- doc/api/next_api_changes/behavior
- lib
- matplotlib
- axes
- tests
- baseline_images
- test_axes
- test_colorbar
- test_contour
- mpl_toolkits/axes_grid1
| 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 | | |
| |||

0 commit comments