use batch matplotlib backend