sanity check in matplotlib_interface