Currently plot_mandelbrot() saves an image to disk. This is not advisable because the word plot is usually not used for that in R. Make a save_mandelbrot() or save_fractal() function for that and rewrite plot_mandelbrot() to just display the fractal.
Currently
plot_mandelbrot()
saves an image to disk. This is not advisable because the wordplot
is usually not used for that in R. Make asave_mandelbrot()
orsave_fractal()
function for that and rewriteplot_mandelbrot()
to just display the fractal.