8000 DOC: improve spines crosslinking [skip-actions] [skip-azure] [skip-ap… · matplotlib/matplotlib@e071856 · GitHub
[go: up one dir, main page]

Skip to content

Commit e071856

Browse files
committed
DOC: improve spines crosslinking [skip-actions] [skip-azure] [skip-appveyor]
1 parent e9eb36d commit e071856

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

examples/spines/spines.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
- normal Axes, with spines on all four sides;
99
- an Axes with spines only on the left and bottom;
1010
- an Axes using custom bounds to limit the extent of the spine.
11+
12+
Each `.axes.Axes` has a list of `~.Spine` objects, accessible
13+
as ``ax.spines.left``, ``ax.spines.right``, ``ax.spines.bottom``,
14+
and ``ax.spines.top``.
1115
"""
1216
import numpy as np
1317
import matplotlib.pyplot as plt

lib/matplotlib/spines.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class Spine(mpatches.Patch):
2727
`~.Spine.set_patch_line`, `~.Spine.set_patch_circle`, or
2828
`~.Spine.set_patch_arc` has been called. Line-like is the default.
2929
30+
For examples see :ref:`spines_examples`.
3031
"""
3132
def __str__(self):
3233
return "Spine"
3179

0 commit comments

Comments
 (0)
0