Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0fb8573

Browse files
committed
DOC axes_margins.py example
1 parent e3280c6 commit 0fb8573

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

examples/axes_grid1/axes_margins.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
"""
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.
2+
=====================================
3+
Zooming in and out using Axes.margins
4+
=====================================
85
6+
This example shows how to zoom in and out of a plot using Axes.margins
7+
instead of Axes.set_xlim and Axes.set_ylim.
98
"""
109
import numpy as np
1110
import matplotlib.pyplot as plt

0 commit comments

Comments
 (0)