[Doc]: Axes.hlines and Axes.vlines (and probably others) can accept a single color as well as a list of colors. · Issue #25677 · matplotlib/matplotlib · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docstrings say that colors should be a list of strings, but a single strings works fine too - it's passed to Collections.LineCollection which accepts a single color.
Suggested improvement
No response
The text was updated successfully, but these errors were encountered:
Documentation Link
No response
Problem
Related: microsoft/pylance-release#4239
Docstrings say that
colors
should be a list of strings, but a single strings works fine too - it's passed toCollections.LineCollection
which accepts a single color.Suggested improvement
No response
The text was updated successfully, but these errors were encountered: