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 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+ via the container ``ax.spines``.
1114"""
1215import numpy as np
1316import matplotlib .pyplot as plt
4447ax2 .xaxis .set_ticks_position ('bottom' )
4548
4649plt .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):
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"
You can’t perform that action at this time.
0 commit comments