python可视化
文章平均质量分 74
shuipan002
这个作者很懒,什么都没留下…
展开
-
可视化之色标设置
import pandas as pdimport matplotlib as mplimport matplotlib.pyplot as pltimport matplotlib.colors as mcolorsimport numpy as npnp.random.seed(19680801)Z = np.random.rand(6, 10)x = np.arange(-0.5, 10, 1) # len = 11y = np.arange(4.5, 11, 1) # le.原创 2022-05-05 10:27:13 · 669 阅读 · 0 评论 -
子图坐标设置-Python
import pandas as pdimport osimport numpy as npimport matplotlib.pyplot as pltimport matplotlib as mpl# 引入画图包的时间处理模块import matplotlib.dates as mdate# 设置仿宋字体显示中文mpl.rcParams['font.sans-serif'] = ['FangSong']# 正常显示正负号mpl.rcParams['axes.unicode_min.原创 2022-04-24 13:02:51 · 1380 阅读 · 0 评论