Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4aba84e

Browse files
committed
FIX: No title [skip actions] [skip azp]
1 parent 2a07400 commit 4aba84e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

examples/color/named_colors.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import matplotlib.colors as mcolors
2323

2424

25-
def plot_colortable(colors, title, sort_colors=True, emptycols=0):
25+
def plot_colortable(colors, sort_colors=True, emptycols=0):
2626

2727
cell_width = 212
2828
cell_height = 22
@@ -81,24 +81,22 @@ def plot_colortable(colors, title, sort_colors=True, emptycols=0):
8181
# Base colors
8282
# -----------
8383

84-
plot_colortable(mcolors.BASE_COLORS, "Base Colors",
85-
sort_colors=False, emptycols=1)
84+
plot_colortable(mcolors.BASE_COLORS, sort_colors=False, emptycols=1)
8685

8786
#############################################################################
8887
# ---------------
8988
# Tableau Palette
9089
# ---------------
9190

92-
plot_colortable(mcolors.TABLEAU_COLORS, "Tableau Palette",
93-
sort_colors=False, emptycols=2)
91+
plot_colortable(mcolors.TABLEAU_COLORS, sort_colors=False, emptycols=2)
9492

9593
#############################################################################
9694
# ----------
9795
# CSS Colors
9896
# ----------
9997

10098
# sphinx_gallery_thumbnail_number = 3
101-
plot_colortable(mcolors.CSS4_COLORS, "CSS Colors")
99+
plot_colortable(mcolors.CSS4_COLORS)
102100
plt.show()
103101

104102
#############################################################################

0 commit comments

Comments
 (0)