fix blit check only compatible with devel version of matplotlib