Skip to content

Commit

Permalink
Slowed gif writer down
Browse files Browse the repository at this point in the history
  • Loading branch information
ianran committed Jan 10, 2024
1 parent c9a2e55 commit 0371c82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/active_learners/pref_gp_ucb_learner.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ def main():
model.probits[0].set_sigma(0.5)

fig = plt.figure()
writer = FFMpegWriter(fps=2)
writer = FFMpegWriter(fps=1)

with writer.saving(fig, "write_test.gif", 100):
with writer.saving(fig, "pref_gp.gif", 100):

plot_data(model)
writer.grab_frame()
Expand Down

0 comments on commit 0371c82

Please sign in to comment.