8000 Merge pull request #21089 from anntzer/se · matplotlib/matplotlib@f44294a · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f44294a

Browse files
authored
Merge pull request #21089 from anntzer/se
Update sticky_edges docstring to new behavior.
2 parents 88ba86b + db71cb8 commit f44294a

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