Can't running a plot

Please see the following link to fix your error.

FYI, Just install ImageMagick

sudo apt install imagemagick