Skip to content

Commit

Permalink
tight_layout patch
Browse files Browse the repository at this point in the history
  • Loading branch information
ASLeonard authored Oct 10, 2017
1 parent 3cf9165 commit ee34492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polyominomodel/_polyomino_animator.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ def AnimateBuild(i):
SetTightBounds(ax,data)

anim = FuncAnimation(fig, AnimateBuild,init_func=init,frames=len(data)*2+5, interval=200, blit=False,repeat=False)
plt.tight_layout()
#fig.set_tight_layout(True)
#plt.tight_layout()
fig.set_tight_layout(True)

if type(write_it)==str:
writer = ImageMagickWriter(fps=fps_par)
Expand Down

0 comments on commit ee34492

Please sign in to comment.