Commit f072289
committed
FIX: axhline() / axvline() now always do autoscaling
Closes matplotlib#14651.
As they are regularly added wih `add_line()`, they were always added to
the data limits, but autoscaling was only updated under certain
conditions, which led to an inconsistent state. See
matplotlib#14651 (comment)
Because of the inconsistent state, I'll classify this as a bug fix and
justify that change can happen immediately without a deprecation.1 parent fee65f1 commit f072289
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
818 | 818 | | |
819 | 819 | | |
820 | 820 | | |
821 | | - | |
822 | 821 | | |
823 | 822 | | |
824 | 823 | | |
825 | 824 | | |
826 | 825 | | |
827 | | - | |
828 | | - | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
829 | 829 | | |
830 | 830 | | |
831 | 831 | | |
| |||
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
904 | | - | |
905 | 904 | | |
906 | 905 | | |
907 | 906 | | |
908 | 907 | | |
909 | 908 | | |
910 | | - | |
911 | | - | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
912 | 912 | | |
913 | 913 | | |
914 | 914 | | |
| |||
0 commit comments