![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
anis_ry
这个作者很懒,什么都没留下…
展开
-
Python pyplot style
在matplotlib 中 提供了很多样式来美化绘图。 在plt.style.available中 import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl print(plt.style.available) plt.style.use('grayscale') [out]: ['bmh', 'clas...原创 2019-06-14 12:27:03 · 1422 阅读 · 0 评论 -
Python调用浏览器实现课程表的获取
代码如下: import matplotlib.pyplot as plt # plt 用于显示图片 import matplotlib.image as mpimg # mpimg 用于读取图片 def showimg(path): lena = mpimg.imread(path) # 读取和代码处于同一目录下的 lena.png plt.imshow(lena) # 显示图片...原创 2019-06-09 15:44:32 · 408 阅读 · 0 评论 -
matplotlib plot 折线图参数
matplotlib import numpy as np # evenly sampled time at 200ms intervals t = np.arange(0., 5., 0.2) # red dashes, blue squares and green triangles plt.plot(t, t, 'r--', t, t**2, 'bs', t, t**3, 'g^') plt...原创 2019-06-15 12:56:20 · 1137 阅读 · 0 评论