import matplotlib.pyplot as plt # 导入Matplotlib库 import random as rdm # 导入随机数工具