matplotlibでグラフを保存するときにX-serverを必要とさせない方法
import matplotlib as mpl mpl.use('Agg') import matplotlib.pyplot as plt
http://stackoverflow.com/questions/4931376/generating-matplotlib-graphs-without-a-running-x-server
白背景を透過にする
convert -transparent white a.png a-transparent.png
http://hooktail.org/computer/index.php?ImageMagick#content_1_1