Set a color to fill the gaps in the dashed edge style. .. versionadded:: 3.11 .. note:: Striped edges are created by drawing two interleaved dashed lines. There can be overlaps between those two, which may result in artifacts when using
(self, edgegapcolor)
| 457 | return self._gapcolor |
| 458 | |
| 459 | def set_edgegapcolor(self, edgegapcolor): |
| 460 | """ |
| 461 | Set a color to fill the gaps in the dashed edge style. |
| 462 | |
| 463 | .. versionadded:: 3.11 |
| 464 | |
| 465 | .. note:: |
| 466 | |
| 467 | Striped edges are created by drawing two interleaved dashed lines. |
| 468 | There can be overlaps between those two, which may result in |
| 469 | artifacts when using transparency. |
| 470 | |
| 471 | This functionality is experimental and may change. |
| 472 | |
| 473 | Parameters |
| 474 | ---------- |
| 475 | edgegapcolor : :mpltype:`color` or None |
| 476 | The color with which to fill the gaps. If None, the gaps are |
| 477 | unfilled. |
| 478 | """ |
| 479 | if edgegapcolor is not None: |
| 480 | self._gapcolor = colors.to_rgba(edgegapcolor, self._alpha) |
| 481 | else: |
| 482 | self._gapcolor = None |
| 483 | self.stale = True |
| 484 | |
| 485 | def set_alpha(self, alpha): |
| 486 | # docstring inherited |