Graph VPython图形-清除显示,以便显示新的数据集

Graph VPython图形-清除显示,以便显示新的数据集,graph,vpython,Graph,Vpython,我有一个要在绘图上设置动画的数据列表,我当前正在使用: graph1=gdots(pos = pvalues) #pvalues is list of points while t <= t_max: rate(200) ... #pvalues is updated to new contain the new points graph1=gdots(pos = pvalues) 包括上述内容对显示器没有明显的影响。关于这一点,我搜索了很多,但VP

我有一个要在绘图上设置动画的数据列表,我当前正在使用:

graph1=gdots(pos = pvalues)    #pvalues is list of points

while t <= t_max:
    rate(200)
    ...    #pvalues is updated to new contain the new points
    graph1=gdots(pos = pvalues)

包括上述内容对显示器没有明显的影响。关于这一点,我搜索了很多,但VPython文档似乎不完整,令人恼火。

我意识到这是一个非常古老的问题,但我对VPython 7也有同样的问题。对于我来说,
graph1.delete()
从图形中删除了关联的数据点,并根据剩余的数据(如果有)重新调整轴的比例。我还没有找到删除图形轴本身的方法(即删除图形)

graph1.visible = False
del graph1