File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 8
8
- normal Axes, with spines on all four sides;
9
9
- an Axes with spines only on the left and bottom;
10
10
- 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
+ via the container ``ax.spines``.
11
14
"""
12
15
import numpy as np
13
16
import matplotlib .pyplot as plt
44
47
ax2 .xaxis .set_ticks_position ('bottom' )
45
48
46
49
plt .show ()
50
+
51
+ # .. admonition:: References
52
+ #
53
+ # The use of the following functions, methods, classes and modules is shown
54
+ # in this example:
55
+ #
56
+ # - `matplotlib.Spines.set_visible`
57
+ # - `matplotlib.Spines.set_bounds`
58
+ # - `matplotlib.axis.set_ticks_position`
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ class Spine(mpatches.Patch):
27
27
`~.Spine.set_patch_line`, `~.Spine.set_patch_circle`, or
28
28
`~.Spine.set_patch_arc` has been called. Line-like is the default.
29
29
30
+ For examples see :ref:`spines_examples`.
30
31
"""
31
32
def __str__ (self ):
32
33
return "Spine"
You can’t perform that action at this time.
0 commit comments