Matplotlib toolbar in XY plot