Misc Showcase#
This gallery example demonstrates the
module.
Imports#
from scikitplot.misc import (
closest_color_name,
display_colors,
plot_colortable,
plot_overlapping_colors,
)
closest_color_name()
['black']
display_colors(['red', 'blue'], show_indices=True)

fig = plot_colortable()

# https://xkcd.com/color/rgb/
# https://xkcd.com/color/rgb.txt
# https://www.w3schools.com/cssref/css_colors.php
fig = plot_overlapping_colors()
Total running time of the script: (0 minutes 1.390 seconds)
Related examples
corpus WHO European Region local or url per file with examples
corpus WHO European Region local or url per file with examples