Make use of plot Instead of having a plot_mandelbrot function. Assign a class mandelbrot or factal to the matrix so the correct plot function is called.
Also I think mandelbrot and julia sets can use the same function because they are closely related.
Make use of
plot
Instead of having aplot_mandelbrot
function. Assign a class mandelbrot or factal to the matrix so the correct plot function is called.Also I think mandelbrot and julia sets can use the same function because they are closely related.