Matplotlib clear plot keep axes. Matplotlib is mostly written in python, a few segments ...