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

Skip to content

Commit 742a6e3

Browse files
authored
Merge pull request #22209 from StefRe/doc/default_capstyle
DOC: Document default join style
2 parents 806f00a + 4c2662a commit 742a6e3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

lib/matplotlib/lines.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,6 +1292,8 @@ def set_dash_joinstyle(self, s):
12921292
"""
12931293
How to join segments of the line if it `~Line2D.is_dashed`.
12941294
1295+
The default joinstyle is :rc:`lines.dash_joinstyle`.
1296+
12951297
Parameters
12961298
----------
12971299
s : `.JoinStyle` or %(JoinStyle)s
@@ -1306,6 +1308,8 @@ def set_solid_joinstyle(self, s):
13061308
"""
13071309
How to join segments if the line is solid (not `~Line2D.is_dashed`).
13081310
1311+
The default joinstyle is :rc:`lines.solid_joinstyle`.
1312+
13091313
Parameters
13101314
----------
13111315
s : `.JoinStyle` or %(JoinStyle)s

lib/matplotlib/patches.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,9 @@ def set_joinstyle(self, s):
494494
"""
495495
Set the `.JoinStyle`.
496496
497+
The default joinstyle is 'round' for `.FancyArrowPatch` and 'miter' for
498+
all other patches.
499+
497500
Parameters
498501
----------
499502
s : `.JoinStyle` or %(JoinStyle)s

0 commit comments

Comments
 (0)