Commit 7dc926e
committed
Set colorbar label only in set_label.
... instead of doing so also in _config_axis.
_config_axis is also called when e.g. the norm is changed, but we don't
want to reset the label in that case.
Note that the previous `self._labelkw` was only usable for one colorbar
orientation anyways (because the choice of `_pos_kw` depends on the
orientation) so everything was already tied to a single orientation.1 parent 8d2c16b commit 7dc926e
1 file changed
Lines changed: 6 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
551 | | - | |
| 551 | + | |
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
729 | | - | |
730 | 729 | | |
731 | 730 | | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | 731 | | |
740 | 732 | | |
741 | 733 | | |
| |||
759 | 751 | | |
760 | 752 | | |
761 | 753 | | |
762 | | - | |
763 | | - | |
764 | | - | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
765 | 759 | | |
766 | 760 | | |
767 | 761 | | |
| |||
0 commit comments