-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
[Doc]: ncols parameter hard-coded #26560
Copy link
Copy link
Closed
Labels
DocumentationGood first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!
Milestone
Metadata
Metadata
Assignees
Labels
DocumentationGood first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!
Type
Fields
Give feedbackNo fields configured for issues without a type.
Documentation Link
https://matplotlib.org/stable/gallery/color/named_colors.html
Problem
I just copied the example code and changed the number of columns
ncols.It seems there are some hard coded
4s in the code.Suggested improvement
change
4s inmatplotlib/galleries/examples/color/named_colors.py
Line 45 in 0b5940f
and
matplotlib/galleries/examples/color/named_colors.py
Line 52 in 0b5940f
to
ncols