If you require plotting capabilities, install python3-matplotlib.
mpmath internally uses Python's builtin long integers by default.
For much faster high-precision arithmetic, install python3-gmpy2.