10000 Update sticky_edges docstring to new behavior. · matplotlib/matplotlib@db71cb8 · GitHub
[go: up one dir, main page]

Skip to content

Commit db71cb8

Browse files
committed
Update sticky_edges docstring to new behavior.
The behavior was tweaked in 0911f8a.
1 parent d37d732 commit db71cb8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/matplotlib/artist.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,6 +1119,11 @@ def sticky_edges(self):
11191119
where one usually expects no margin on the bottom edge (0) of the
11201120
histogram.
11211121
1122+
Moreover, margin expansion "bumps" against sticky edges and cannot
1123+
cross them. For example, if the upper data limit is 1.0, the upper
1124+
view limit computed by simple margin application is 1.2, but there is a
1125+
sticky edge at 1.1, then the actual upper view limit will be 1.1.
1126+
11221127
This attribute cannot be assigned to; however, the ``x`` and ``y``
11231128
lists can be modified in place as needed.
11241129

0 commit comments

Comments
 (0)
0