We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5672341 commit a420913Copy full SHA for a420913
lib/matplotlib/spines.py
@@ -481,15 +481,15 @@ def linear_spine(cls, axes, spine_type, **kwargs):
481
"""
482
(staticmethod) Returns a linear :class:`Spine`.
483
484
- # all values of 13 get replaced upon call to set_bounds()
+ # all values of 0.999 get replaced upon call to set_bounds()
485
if spine_type == 'left':
486
- path = mpath.Path([(0.0, 13), (0.0, 13)])
+ path = mpath.Path([(0.0, 0.999), (0.0, 0.999)])
487
elif spine_type == 'right':
488
- path = mpath.Path([(1.0, 13), (1.0, 13)])
+ path = mpath.Path([(1.0, 0.999), (1.0, 0.999)])
489
elif spine_type == 'bottom':
490
- path = mpath.Path([(13, 0.0), (13, 0.0)])
+ path = mpath.Path([(0.999, 0.0), (0.999, 0.0)])
491
elif spine_type == 'top':
492
- path = mpath.Path([(13, 1.0), (13, 1.0)])
+ path = mpath.Path([(0.999, 1.0), (0.999, 1.0)])
493
else:
494
raise ValueError('unable to make path for spine "%s"' % spine_type)
495
result = cls(axes, spine_type, path, **kwargs)
0 commit comments