matplotlib-animation Questions

6

I have a python animation script (using matplotlib's funcAnimation), which runs in Spyder but not in Jupyter. I have tried following various suggestions such as adding "%matplotlib inline&quot...
Poignant asked 17/4, 2017 at 4:22

5

Solved

I'm using FuncAnimation in matplotlib's animation module for some basic animation. This function perpetually loops through the animation. Is there a way by which I can pause and restart the animati...
Massage asked 24/5, 2013 at 10:1

9

Solved

Under Linux, I've been checking out matplotlib's animation class, and it seems to work except that I cant initialise the movie writer to write out the movie. Using either of the examples: http:/...
Numismatology asked 9/11, 2012 at 21:38

1

Solved

I created an animated plot using FuncAnimation from the Matplotlib Animation class, and I want to save it as a .gif file. When I run the script, the output looks normal, and looks like this (the an...
Itch asked 27/8, 2021 at 22:43

5

I'm trying to do an animation of a scatter plot where colors and size of the points changes at different stage of the animation. For data I have two numpy ndarray with an x value and y value: data...
Haynie asked 22/2, 2012 at 19:32

4

Solved

I have a scatter plot set up and plotted the way I want it, and I want to create an .mp4 video of the figure rotating in space, as if I had used plt.show() and dragged the viewpoint around. This ...
Hydrothorax asked 20/8, 2013 at 21:3

1

Solved

I am working on a project that involves generating a matplotlib animation using pyplot.imshow for the frames. I am doing this in a jupyter notebook. I have managed to get it working, but there is o...
Angadresma asked 11/8, 2020 at 18:29

2

Solved

I want to make 3D animation with matplotlib, but I don't know how to. Here is my non-working code. from matplotlib import pyplot as plt import numpy as np from mpl_toolkits.mplot3d import Axes3D f...
Chally asked 30/6, 2016 at 9:8

8

I've been trying for hours to get this simple script working, but nothing I do seems to help. It's a slight modification of the most basic animated plot sample code from the Matplotlib website, tha...
Apple asked 9/8, 2010 at 16:1

2

Solved

i found this wonderful short tutorial on animation: http://jakevdp.github.io/blog/2012/08/18/matplotlib-animation-tutorial/ however i cant produce an animated imshow() plot of same fashion. I tri...
Mohr asked 20/6, 2013 at 11:42

2

Solved

I am trying to use the FuncAnimation of Matplotlib to animate the display of one dot per frame of animation. # modules #----------------------------------------------------------------------------...

2

Solved

I am graphing out positions in a star cluster, my data is in a dataframe with x,y,z positions as well as a time index. I am able to produce a 3d scatter plot and was trying to produce a rotating p...

2

Solved

I would like to have an iteratively plotted graph that allows for skipping to the next frame, stopping it and coming back to a previous frame. I have looked at matplotlib Animation module which wo...
Nevels asked 8/7, 2017 at 11:54

1

Solved

I'm using matplotlib plotting in python GUI using animation. And below is the code import sys from PyQt4 import QtGui from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanv...
Monarchal asked 28/4, 2017 at 7:51

1

Solved

I'm producing a series of scatterplots, where I keep most of the plot (besides the scatter plot) between each plot. This is done like so: Keeping map overlay between plots in matplotlib Now I want...
Phosphorism asked 18/2, 2017 at 11:26

2

Solved

the code here below shows and saves an animation of random matrices in succession. My question is how can I adjust the duration of the animation that I save. The only parameters that I have here fp...
Curr asked 25/2, 2014 at 10:0

1

Solved

I'm new to both python and stackoverflow, and I'm going over examples at matplotlib. I've searched for the solution to this problem with no luck, although I was able to locate a previously unanswer...
Autopsy asked 7/3, 2016 at 23:18

1

Solved

I want to produce a set of frames that can be used to animate a plot of a growing line. In the past, I have always used plt.draw() and set_ydata() to redraw the y-data as it changed over time. This...
Wyeth asked 21/1, 2015 at 18:41

2

I'm trying to get a 3d animation of a scatterplot in matplotlib, based off the 2d scatterplot animation posted here and the 3d line plot posted here. The problems arise from set_data and set_offse...
Intensify asked 7/7, 2012 at 16:50

1

Solved

I've been trying to save an animated scatterplot with matplotlib, and I would prefer that it didn't require totally different code for viewing as an animated figure and for saving a copy. The figur...
1

© 2022 - 2024 — McMap. All rights reserved.