随笔分类 -  matplotlib

matplotlib
摘要:plt.rcParams['font.family'] = 'Arial Unicode MS' 阅读全文
posted @ 2020-12-30 11:01 fly_bk 阅读(95) 评论(0) 推荐(0)
摘要:安装并激活 jupyter_contrib_nbextensions, 为了快速安装的速度,先临时使用清华的镜像,这样并不会改变默认的pip参数。 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple flask pip install ju 阅读全文
posted @ 2020-12-19 10:58 fly_bk 阅读(557) 评论(0) 推荐(0)
摘要:import unittest import matplotlib.pyplot as plt """简易散点图""" class MyTestCase(unittest.TestCase): def test_something(self): self.assertEqual(True, Fals 阅读全文
posted @ 2020-12-15 08:31 fly_bk 阅读(90) 评论(0) 推荐(0)
摘要:import unittest import matplotlib.pyplot as plt class MyTestCase(unittest.TestCase): def test_demo3(self): """简易线性图""" plt.style.use('seaborn-whitegri 阅读全文
posted @ 2020-12-14 15:18 fly_bk 阅读(297) 评论(0) 推荐(0)
摘要:pip3安装 pip3 install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple import unittest import matplotlib.pyplot as plt class MyTestCase(unittest.T 阅读全文
posted @ 2020-12-14 13:29 fly_bk 阅读(92) 评论(0) 推荐(0)