Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create 3d plots in loop, noninteractive #452

Open
wagmanbe opened this issue Mar 13, 2019 · 3 comments
Open

Create 3d plots in loop, noninteractive #452

wagmanbe opened this issue Mar 13, 2019 · 3 comments

Comments

@wagmanbe
Copy link

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

@doutriaux1
Copy link
Contributor

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

@sterlingbaldwin
Copy link

@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.

@doutriaux1
Copy link
Contributor

@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.

@jasonb5 jasonb5 transferred this issue from CDAT/cdat Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants