Bases: Enum
Named colors of the series of a chart: the first ten colors of the default cycle, then black.
The series or color_by groups without chosen colors take the colors of the default cycle: these ten colors,
then their light colors, #aec7e8 for blue to #9edae5 for cyan. After 20 series the cycle starts again,
with a ReadabilityWarning . Write any other color with CustomColor .
Changed in version 0.2.0
The default cycle goes on with ten light colors before it starts again.
Examples:
import numdaplot as ndp
prices = ndp . Array . from_list ([ 12.0 , 15.5 , 14.0 , 17.0 ])
chart = ndp . LineChart ( colors = [ ndp . Color . GREEN ])
plot = ndp . Plot . line ( prices , chart )
plot . show ()
Attributes
BLUE = auto ()
Source
Blue, #1f77b4, the first color of the default cycle.
Examples:
import numdaplot as ndp
prices = ndp . Array . from_list ([ 12.0 , 15.5 , 14.0 , 17.0 ])
chart = ndp . LineChart ( colors = [ ndp . Color . BLUE ])
plot = ndp . Plot . line ( prices , chart )
plot . show ()
ORANGE = auto ()
Source
Orange, #ff7f0e.
Examples:
import numdaplot as ndp
prices = ndp . Array . from_list ([ 12.0 , 15.5 , 14.0 , 17.0 ])
chart = ndp . LineChart ( colors = [ ndp . Color . ORANGE ])
plot = ndp . Plot . line ( prices , chart )
plot . show ()
GREEN = auto ()
Source
Green, #2ca02c.
Examples:
import numdaplot as ndp
prices = ndp . Array . from_list ([ 12.0 , 15.5 , 14.0 , 17.0 ])
chart = ndp . LineChart ( colors = [ ndp . Color . GREEN ])
plot = ndp . Plot . line ( prices , chart )
plot . show ()
RED = auto ()
Source
Red, #d62728.
Examples:
import numdaplot as ndp
prices = ndp . Array . from_list ([ 12.0 , 15.5 , 14.0 , 17.0 ])
chart = ndp . LineChart ( colors = [ ndp . Color . RED ])
plot = ndp . Plot . line ( prices , chart )
plot . show ()
PURPLE = auto ()
Source
Purple, #9467bd.
Examples:
import numdaplot as ndp
prices = ndp . Array . from_list ([ 12.0 , 15.5 , 14.0 , 17.0 ])
chart = ndp . LineChart ( colors = [ ndp . Color . PURPLE ])
plot = ndp . Plot . line ( prices , chart )
plot . show ()
BROWN = auto ()
Source
Brown, #8c564b.
Examples:
import numdaplot as ndp
prices = ndp . Array . from_list ([ 12.0 , 15.5 , 14.0 , 17.0 ])
chart = ndp . LineChart ( colors = [ ndp . Color . BROWN ])
plot = ndp . Plot . line ( prices , chart )
plot . show ()
PINK = auto ()
Source
Pink, #e377c2.
Examples:
import numdaplot as ndp
prices = ndp . Array . from_list ([ 12.0 , 15.5 , 14.0 , 17.0 ])
chart = ndp . LineChart ( colors = [ ndp . Color . PINK ])
plot = ndp . Plot . line ( prices , chart )
plot . show ()
GRAY = auto ()
Source
Gray, #7f7f7f.
Examples:
import numdaplot as ndp
prices = ndp . Array . from_list ([ 12.0 , 15.5 , 14.0 , 17.0 ])
chart = ndp . LineChart ( colors = [ ndp . Color . GRAY ])
plot = ndp . Plot . line ( prices , chart )
plot . show ()
OLIVE = auto ()
Source
Olive, #bcbd22.
Examples:
import numdaplot as ndp
prices = ndp . Array . from_list ([ 12.0 , 15.5 , 14.0 , 17.0 ])
chart = ndp . LineChart ( colors = [ ndp . Color . OLIVE ])
plot = ndp . Plot . line ( prices , chart )
plot . show ()
CYAN = auto ()
Source
Cyan, #17becf.
Examples:
import numdaplot as ndp
prices = ndp . Array . from_list ([ 12.0 , 15.5 , 14.0 , 17.0 ])
chart = ndp . LineChart ( colors = [ ndp . Color . CYAN ])
plot = ndp . Plot . line ( prices , chart )
plot . show ()
BLACK = auto ()
Source
Black, #000000.
Examples:
import numdaplot as ndp
prices = ndp . Array . from_list ([ 12.0 , 15.5 , 14.0 , 17.0 ])
chart = ndp . LineChart ( colors = [ ndp . Color . BLACK ])
plot = ndp . Plot . line ( prices , chart )
plot . show ()