set backend for matplotlib