Horje
matplotlib convert color string to int Code Example
matplotlib convert color string to int
from matplotlib.colors import CSS4_COLORS, to_rgb

# Convert the color 'red' to rgb format:
c = to_rgb(CSS4_COLORS["red"]) # c = (1, 0, 0)

# For all available colors go to: 
# https://matplotlib.org/3.3.1/gallery/color/named_colors.html#sphx-glr-gallery-color-named-colors-py




Python

Related
django create ap Code Example django create ap Code Example
django cleanup settings Code Example django cleanup settings Code Example
is file a keywoard in python Code Example is file a keywoard in python Code Example
run python3 script in pytgon Code Example run python3 script in pytgon Code Example
getsizeof python Code Example getsizeof python Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8