Mandelbrot set: Difference between revisions
Content deleted Content added
m →{{header|Python}}: Removed an optimization to make the code more readable. |
m →{{header|Python}}: Another optimization removed to improve comparability. |
||
Line 7,065:
u, v = u ** 2 - v ** 2 + a, 2 * u * v + b
T[i][j] = k + 1
plt.imshow(T, cmap=plt.cm.twilight_shifted)
|