Closed csiegl182 closed 4 months ago
03cc6e27f484f604524fea9a410e29b61b0b4a20 allows the SVG backend to take color tuples (r, g, b) in the range 0-1. Matplotlib already accepts them. Both backends accept any color as a hex string such as '#FFFFFF'.
This PR fixes some type hints.
Thanks for accepting this request. Sure, this is no functional fix but affects "only" type hints ;-)
Right now, the color property accepts only the names (as string values) for different colors. In order to obtain more flexibility, I would suggest to also accept rgb values.