When you apply the function z→z² to a grid in the complex plane, the grid lines transform into curves. The vertical and horizontal lines become parabolas or hyperbolas, depending on their orientation with respect to the real axis.
The NumPy module in Python facilitates manipulation of complex numbers
This illustration was created using Matplotlib
