matplotlib with openoffice

Hi,

since openoffice can use python as macro language, does
anyone know or has an idea, if is possible to use matplotlib
for plotting inside it. Would be nice to create diagrams
just be marking columns!?

Greetings!
Fabian