Commit e897384
committed
Remove unneeded _update_transScale calls in _init_axis.
_init_axis is called only in the Axes constructor, where it is followed
by a call to clear, which itself already calls _update_transScale (which
is needed to take into account the axis scales that get set in it). So
_init_axis doesn't need to call _update_transScale itself. Removing it
avoids showcasing a private method in the custom_projection demo, and
helps moving towards a system where updating an axis scale directly
invalidates whatever is necessary (e.g. via a TransformWrapper) instead
of requiring manual invalidation calls (i.e. _update_transScale).1 parent ccbd641 commit e897384
File tree
4 files changed
+2
-7
lines changed- examples/misc
- lib/matplotlib
- axes
- projections
4 files changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
825 | | - | |
826 | 825 | | |
827 | 826 | | |
828 | 827 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
795 | | - | |
796 | | - | |
797 | | - | |
| 795 | + | |
| 796 | + | |
798 | 797 | | |
799 | | - | |
800 | 798 | | |
801 | 799 | | |
802 | 800 | | |
| |||
0 commit comments