官术网_书友最值得收藏!

Color cycle

For quick plotting without having to set colors for each data series, Matplotlib uses a list of colors called the default property cycle, whereby each series is assigned one of the default colors in the cycle. In Matplotlib 2.0, the list has been changed from the original red, green, blue, cyan, magenta, yellow, and black, noted as ['b', 'g', 'r', 'c', 'm', 'y', 'k'], to the current category10 color palette introduced by the Tableau software. As implied by the name, the new palette has 10 distinct colors suitable for categorical display. The list can be accessed by importing Matplotlib and calling matplotlib.rcParams['axes.prop_cycle'] in Python.

主站蜘蛛池模板: 苏尼特左旗| 晋城| 旌德县| 商城县| 沂水县| 肇东市| 科尔| 鹤壁市| 长宁区| 留坝县| 肇庆市| 福清市| 通城县| 哈尔滨市| 桃江县| 顺义区| 镇江市| 武穴市| 英超| 滕州市| 莲花县| 界首市| 丰县| 鸡泽县| 湟源县| 景宁| 呼图壁县| 长宁县| 民县| 永丰县| 桃园市| 瓮安县| 常宁市| 铅山县| 四平市| 宁晋县| 驻马店市| 永吉县| 隆回县| 留坝县| 长兴县|