Support HTML color codes
sepandhaghighi opened this issue · comments
Sepand Haghighi commented
Description
Support HTML color codes
Reference: https://matplotlib.org/1.4.2/api/colors_api.html
Steps/Code to Reproduce
>>> from samila import *
>>> g = GenerativeImage()
>>> g.generate()
>>> g.plot(color="#EEE245", bgcolor="#000000")
Expected Behavior
Color: "#EEE245" (Yellow)
Background Color: "#000000"(Black)
Actual Behavior
Color: Blue
Background Color: Blue
Operating System
Windows 10
Python Version
3.6.5
Samila Version (Use : samila.__version__
)
0.6