Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46c44b6 commit 8fb7f0fCopy full SHA for 8fb7f0f
1 file changed
examples/event_handling/zoom_window.py
@@ -29,8 +29,8 @@
29
# Fixing random state for reproducibility
30
np.random.seed(19680801)
31
32
-figsrc, axsrc = plt.subplots()
33
-figzoom, axzoom = plt.subplots()
+figsrc, axsrc = plt.subplots(figsize=(3.7, 3.7))
+figzoom, axzoom = plt.subplots(figsize=(3.7, 3.7))
34
axsrc.set(xlim=(0, 1), ylim=(0, 1), autoscale_on=False,
35
title='Click to zoom')
36
axzoom.set(xlim=(0.45, 0.55), ylim=(0.4, 0.6), autoscale_on=False,
0 commit comments