[v6r12] Various bug fixes and/or better code in the accounting

You mean "where there is NO matplotlib installed?" Everything in this Graph package needs matplotlib, so I think that this try..except just hides the fact there there is a missing package, that is anyway necessary. Let me know if I am missing something.