FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Clarify SecondaryAxes limit behavior via documentation by Chirag3841 · Pull Request #31439 · matplotlib/matplotlib · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
5 changes: 4 additions & 1 deletion lib/matplotlib/axes/_secondary_axes.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,10 @@ def set_color(self, color):
components except for the complementary axis are hidden. You may modify
the complementary axis, e.g. by setting ticks or an axis label. However,
it is not designed to hold data, so that you should not call any
plotting methods on it.
plotting methods on it. Its limits are derived from the parent Axes via
the specified transformation, and setting limits on the secondary axis
(e.g., via ``set_xlim`` or ``set_ylim``) has no effect.


Other Parameters
----------------
Expand Down
Loading

Back | FazBrowse Home | New Git URL