We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a220f5 commit 359a6c8Copy full SHA for 359a6c8
lib/matplotlib/colors.py
@@ -1194,8 +1194,8 @@ class ListedColormap(Colormap):
1194
@_api.delete_parameter(
1195
"3.11", "N",
1196
message="Passing 'N' to ListedColormap is deprecated since %(since)s "
1197
- "and will be removed in %(removal)s. Please process the list "
1198
- "of passed colors yourself if needed."
+ "and will be removed in %(removal)s. Please ensure the list "
+ "of passed colors is the required length instead."
1199
)
1200
def __init__(self, colors, name='from_list', N=None):
1201
if N is None:
0 commit comments