[Bug]: gapcolor not supported for LineCollections #24796
Labels
API: consistency
Difficulty: Medium
https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
topic: collections and mappables
topic: color/color & colormaps
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Bug summary
LineCollection doesn't have a
get_gapcolor
orset_gapcolor
, so gapcolor doesn't work in plotting methods that return LineCollections (like vlines or hlines).Code for reproduction
Actual outcome
Expected outcome
Additional information
I think the easiest fix is probably add
set_color
andget_color
to LineCollection, modeled onget_color
andset_color
matplotlib/lib/matplotlib/collections.py
Lines 1463 to 1481 in 5093150
Matplotlib Version
3.7.0.dev1121+g509315008c
The text was updated successfully, but these errors were encountered: