vcs icon indicating copy to clipboard operation
vcs copied to clipboard

Create 3d plots in loop, noninteractive

Open wagmanbe opened this issue 6 years ago • 3 comments

Hi, I'm trying to loop over time, making 3d_scalar plots and exporting them. This works in 2D (see simple 2d data animation). But in 3d, the plots are identical and never advance in time, even though the data is different. I have tried to get creative about not reusing canvas names, and clearing everything I can, to no avail. Here's an example of what I'm doing. I haven't attached any data so this is just a hypothetical. Perhaps this is a bug?

for_github.txt

wagmanbe avatar Mar 13 '19 16:03 wagmanbe

@ThomasMaxwell please do you remember how to clear the saved state?

doutriaux1 avatar Mar 13 '19 17:03 doutriaux1

@doutriaux1 I was playing around with generating animations and ran into the exact same problem. I even tried deleting the canvas and re-initializing for every frame, but no luck, every frame came out exactly the same.

sterlingbaldwin avatar Apr 19 '19 18:04 sterlingbaldwin

@sterlingbaldwin I need to eventually fix thids but I found a solution for the user as a temporary work-around. Instead of plotting data[i] plot data[i]*1. this seems to clear the cache and update each frame.

doutriaux1 avatar Apr 23 '19 16:04 doutriaux1