Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b9ef36

Browse files
committed
Use projecting caps for axes spines (fixes #2542).
1 parent 072f702 commit 3b9ef36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/spines.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def __init__(self, axes, spine_type, path, **kwargs):
5757
self.set_facecolor('none')
5858
self.set_edgecolor(rcParams['axes.edgecolor'])
5959
self.set_linewidth(rcParams['axes.linewidth'])
60+
self.set_capstyle('projecting')
6061
self.axis = None
6162

6263
self.set_zorder(2.5)

0 commit comments

Comments
 (0)