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

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.

主站蜘蛛池模板: 台东县| 镇巴县| 呼伦贝尔市| 静安区| 闻喜县| 石家庄市| 平山县| 大竹县| 张家港市| 陇川县| 邳州市| 清原| 南江县| 柳林县| 彭州市| 商水县| 长治县| 马山县| 屏东县| 朝阳县| 五莲县| 开平市| 乡城县| 昌都县| 磴口县| 衡南县| 鹤山市| 山东省| 宜州市| 桂平市| 嘉峪关市| 密云县| 安达市| 大田县| 九龙坡区| 白银市| 沙湾县| 贵德县| 苍溪县| 莆田市| 恩施市|