dvipng was not able to process the following file...

matplotlibのsavefigでタイトルのようなエラーがでて,かつ,

Here is the full report genrated by dvipng

のあとに何も表示されていない場合,dvipngをインストールすれば良い.

>> sudo apt-get install divpng