workaround matplotlib backward-incompatible change. closes #15.