Активировать чудо-двойник «Увеличить до прямоугольника»?

enter image description here

Есть ли способ получить Инструмент «Увеличить до прямоугольника» автоматически активируется по умолчанию, когда отображается фигура matplotlib?

import numpy as np
import matplotlib.pyplot as plt
x = np.arange(-300, 300)
y = x**2-7*x
fig = plt.figure()
ax = fig.add_subplot(1,1,1)
plt.plot(x, y)
# Add something here to activate the "Zoom to rectangle" tool?
plt.show()
6
задан Eric O Lebigot 5 November 2013 в 15:25
поделиться