摘要:        
random_walk.py from random import choice class RandomWalk(): """初始化随机漫步数据的类""" def __init__(self, num_points=5000): self.num_points = num_points # 所有随    阅读全文
posted @ 2021-08-02 19:03
木子欢儿
阅读(86)
评论(0)
推荐(0)
        
            
        
        
摘要:        
我正在为随机游走模型编写代码,我使用plt.axes().get_xaxis().set_visible(False)来隐藏轴,但是当我运行程序时,绘图仍然显示两个轴。以下是我写的: import matplotlib.pyplot as plt from random_walk import Ra    阅读全文
posted @ 2021-08-02 18:53
木子欢儿
阅读(369)
评论(0)
推荐(1)
        

浙公网安备 33010602011771号