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 e3280c6 commit 0fb8573Copy full SHA for 0fb8573
examples/axes_grid1/axes_margins.py
@@ -1,11 +1,10 @@
1
"""
2
-============
3
-Margins demo
4
5
-
6
-The following example shows an alternative method for scaling
7
-by using Axes.margins instead of Axes.set_xlim and Axes.set_ylim.
+=====================================
+Zooming in and out using Axes.margins
8
+This example shows how to zoom in and out of a plot using Axes.margins
+instead of Axes.set_xlim and Axes.set_ylim.
9
10
import numpy as np
11
import matplotlib.pyplot as plt
0 commit comments