Navigation toolbar coexistence event framework

definetily remove this from `pyplot.py`