Python利用matplotlib绘制散点图的新手教程

上传:sampras80856 浏览: 13 推荐: 0 文件:PDF 大小:158KB 上传时间:2020-12-17 06:25:17 版权申诉
前言 上篇文章介绍了使用matplotlib绘制折线图,参考:https://www.jb51.net/article/198991.htm,本篇文章继续介绍使用matplotlib绘制散点图。 一、matplotlib绘制散点图 # coding=utf-8 import matplotlib.pyplot as plt years = [2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019] turnovers = [0.5, 9.36, 52, 191, 350, 571, 912, 1027, 1682, 2
上传资源
用户评论