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 af3a97e

Browse filesBrowse files
committed
add note on what's considered a "visible patch" to the example
1 parent fa8e7e4 commit af3a97e
Copy full SHA for af3a97e

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+6
-2
lines changed

‎galleries/examples/showcase/pan_zoom_overlap.py

Copy file name to clipboardExpand all lines: galleries/examples/showcase/pan_zoom_overlap.py
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,20 @@
1313
- Shared axes always trigger with their parent axes
1414
(irrespective of the patch visibility)
1515
16+
Note: The visibility of the patch hereby refers to the value of
17+
``ax.patch.get_visible()``. The color and transparency of a
18+
patch have no effect on the treatment of pan/zoom events!
19+
1620
1721
``ax.set_forward_navigation_events(val)`` can be used to override the
1822
default behaviour:
1923
2024
- ``True``: Forward navigation events to axes below.
2125
- ``False``: Execute navigation events only on this axes.
22-
- ``"auto"``: Use the default behaviour
23-
(``True`` for axes with an invisible patch and ``False`` otherwise).
26+
- ``"auto"``: Use the default behaviour.
2427
2528
To disable pan/zoom events completely, use ``ax.set_navigate(False)``
29+
2630
"""
2731

2832

0 commit comments

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