_Originally posted by @jklymak in https://github.com/matplotlib/matplotlib/pull/12293/comment#issuecomment-427611217_