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 466330b

Browse filesBrowse files
authored
document the reason for the change
1 parent a736720 commit 466330b
Copy full SHA for 466330b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎lib/matplotlib/axes/_subplots.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_subplots.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ def _make_twin_axes(self, *kl, **kwargs):
173173
"""
174174
from matplotlib.projections import process_projection_requirements
175175
if 'sharex' in kwargs and 'sharey' in kwargs:
176+
# The following line is added in v2.2 to avoid breaking Seaborn,
177+
# which currently uses this internal API.
176178
if kwargs["sharex"] is not self and kwargs["sharey"] is not self:
177179
raise ValueError("Twinned Axes may share only one axis.")
178180
kl = (self.get_subplotspec(),) + kl

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.