Skip to content

Commit 359a6c8

Browse files
timhoffmrcomer
andauthored
Update lib/matplotlib/colors.py
Co-authored-by: Ruth Comer <[email protected]>
1 parent 4a220f5 commit 359a6c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/colors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,8 +1194,8 @@ class ListedColormap(Colormap):
11941194
@_api.delete_parameter(
11951195
"3.11", "N",
11961196
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."
1197+
"and will be removed in %(removal)s. Please ensure the list "
1198+
"of passed colors is the required length instead."
11991199
)
12001200
def __init__(self, colors, name='from_list', N=None):
12011201
if N is None:

0 commit comments

Comments
 (0)