Simplify framerate alteration
This commit is contained in:
parent
6b623d3a30
commit
9606ca4151
1 changed files with 1 additions and 1 deletions
2
data.py
2
data.py
|
@ -37,7 +37,7 @@ class Animator:
|
||||||
self.ani = animation.FuncAnimation(
|
self.ani = animation.FuncAnimation(
|
||||||
self.fig,
|
self.fig,
|
||||||
self.update,
|
self.update,
|
||||||
interval=1000/120,
|
interval=1000 / (15 * 2 ** 4),
|
||||||
init_func=self.setup_plot,
|
init_func=self.setup_plot,
|
||||||
blit=True,
|
blit=True,
|
||||||
cache_frame_data=False
|
cache_frame_data=False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue