You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Currently removeobject works for removing individual object or template, but I was thinking something like below, so everything can be easily removed but keep canvas alive so it can be re-used.
x=vcs.init()
x.plot(d)
x.reinit() ## Clear every objects in the canvas, remaining canvas alive
This would help when creating thousands of plots as @durack1 , @gleckler1 and I do, but memory usage is keep increasing because of user missed erase some of vcs object. @doutriaux1 What do you think?
The text was updated successfully, but these errors were encountered:
@lee1043@doutriaux1 I think a vcs.reset() function would be ideal, I wonder whether having keyword args as an additional expansion to the function would be useful?
Currently
removeobject
works for removing individual object or template, but I was thinking something like below, so everything can be easily removed but keep canvas alive so it can be re-used.This would help when creating thousands of plots as @durack1 , @gleckler1 and I do, but memory usage is keep increasing because of user missed erase some of vcs object. @doutriaux1 What do you think?
The text was updated successfully, but these errors were encountered: