From bbc149ed9b2949c4bb38e8d83f8b7e5a2620074b Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Tue, 26 Dec 2017 18:39:04 +0100 Subject: [PATCH] tight layout --- mandelbrot.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mandelbrot.py b/mandelbrot.py index 0abef4d..7d43a44 100644 --- a/mandelbrot.py +++ b/mandelbrot.py @@ -1,7 +1,8 @@ -import numpy as np -import matplotlib.pyplot as plt -from multiprocessing.dummy import Pool as ThreadPool import os.path +from multiprocessing.dummy import Pool as ThreadPool + +import matplotlib.pyplot as plt +import numpy as np def f(x): @@ -55,6 +56,7 @@ for zl, dt, coordinates in results: plt.ticklabel_format(style='sci', scilimits=(0, 0)) # plt.axis("off") + plt.tight_layout() plt.savefig("{img}.png".format(img=zl), dpi=350) # for zoomlevel in range(20):