See https://travis-ci.org/matplotlib/matplotlib/jobs/71414788 I suspect this happens after the merge of #4506 That example still calls plt.ion()