make use of oo api of matplotlib