2021年6月26日

matplotlib 并列条形图

摘要: 1 绘制并列条形图,并在条形图上加标注 1.1 代码 from matplotlib import pyplot from matplotlib import font_manager import numpy as np import random # 小学期间语文和数学的成绩 x_label = 阅读全文

posted @ 2021-06-26 10:31 Wendy_r 阅读(819) 评论(0) 推荐(0) 编辑

2021年6月25日

subplot和add_subplot的作用、使用方式及不同

摘要: matplotlib.pyplot.subplot(nrows, ncols, index, **kwargs) 作用 Add an Axes to the current figure or retrieve an existing Axes. 添加一个绘图区到当前画布,或检索一个已存在的绘图区 阅读全文

posted @ 2021-06-25 17:11 Wendy_r 阅读(1955) 评论(0) 推荐(0) 编辑

Jupyter Notebook 自动补全插件

摘要: 终端输入 pip install jupyter_contrib_nbextensions #若此前安装过显示目录功能,可跳过 jupyter contrib nbextensions install --user pip install jupyter_nbextensions_configura 阅读全文

posted @ 2021-06-25 11:28 Wendy_r 阅读(402) 评论(0) 推荐(0) 编辑

2020年4月11日

DHCP完整过程详解及Wireshark抓包分析

摘要: DHCP,Dynamic Host Configuration Protocol,动态主机配置协议,简单来说就是主机获取IP地址的过程,属于应用层协议。 DHCP采用UDP的68(客户端)和67(服务器)端口进行通信。 【过程】 DHCP过程主要为DHCP Discover DHCP Offer D 阅读全文

posted @ 2020-04-11 13:47 Wendy_r 阅读(27194) 评论(0) 推荐(5) 编辑

导航