8000 Update lib/matplotlib/lines.py · matplotlib/matplotlib@6674d7b · GitHub
[go: up one dir, main page]

Skip to content

Commit 6674d7b

Browse files
rcomertimhoffm
andauthored
Update lib/matplotlib/lines.py
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
1 parent 168535c commit 6674d7b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/matplotlib/lines.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,10 +1246,11 @@ def set_secondcolor(self, secondcolor):
12461246
"""
12471247
Set a second color to fill the gaps in the dashed line style.
12481248
1249-
.. warning::
1249+
.. note::
12501250
1251-
In some cases the two line colors may overlap, which could lead to
1252-
unwanted effects if also setting ``alpha``.
1251+
Striped lines are created by drawing two interleaved dashed lines.
1252+
There can be single-pixel sized overlaps between those two, which
1253+
may result in artifacts when using transparency.
12531254
12541255
Parameters
12551256
----------

0 commit comments

Comments
 (0)
0