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)
Color Display (Order)
fig = plot_colortable()
plot misc script
# https://xkcd.com/color/rgb/
# https://xkcd.com/color/rgb.txt
# https://www.w3schools.com/cssref/css_colors.php
fig = plot_overlapping_colors()
plot misc script

Tags: plot-type: barh plot-type: text level: beginner purpose: showcase

Total running time of the script: (0 minutes 1.390 seconds)

Related examples

plot_residuals_distribution with examples

plot_residuals_distribution with examples

plot_residuals_distribution with examples

plot_residuals_distribution with examples

Introduction to modelplotpy

Introduction to modelplotpy

plot_feature_importances with examples

plot_feature_importances with examples

Gallery generated by Sphinx-Gallery