摘要: matplotlib自带的颜色 seaborn的颜色 装了seaborn扩展的话,在字典seaborn.xkcd_rgb中包含所有的xkcd crowdsourced color names。 使用的代码 使用的颜色名称 【参考】 \ "1][(原)python中matplotlib的颜色及线条控制 阅读全文
posted @ 2018-11-06 18:48 Yingjing 阅读(599) 评论(0) 推荐(1) 编辑
摘要: 有时默认的图例位置不符合我们的需要,那么我们可以使用下面的代码对 legend 位置进行调整。 其中,第一个参数 loc,设置它可以遵循以下的表格 | String | Number | | | | | upper right | 1 | | upper left | 2 | | lower lef 阅读全文
posted @ 2018-11-06 17:50 Yingjing 阅读(40593) 评论(2) 推荐(2) 编辑