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

Skip to content

Commit d0753c0

Browse files
authored
Merge pull request #18672 from jeetvora331/master
Created Border for color examples
2 parents 5f5fce3 + 9ff5564 commit d0753c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/color/named_colors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def plot_colortable(colors, title, sort_colors=True, emptycols=0):
6868

6969
ax.add_patch(
7070
Rectangle(xy=(swatch_start_x, y-9), width=swatch_width,
71-
height=18, facecolor=colors[name])
71+
height=18, facecolor=colors[name], edgecolor='0.7')
7272
)
7373

7474
return fig

0 commit comments

Comments
 (0)