mpl-data directory

Hi guys,

Is it possible to create executable file from Python script which uses matplotlib without mpl-data directory? I’m using only AGG backend (generates png file) so I don’t need the fonts and images directory. As you know mpl-data size is huge, more than 3MB. I’d like to reduce final size of my app.

My environments:

  • Python 2.7.2,

  • matplotlib 1.1.0,

  • cx_Freeze 4.2.3,

  • Windows XP/Vista/7 (right now).

I’m looking forward to your replay,



Piotr Tynecki