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

Skip to content

Commit e5529b8

Browse files
committed
Rewrite docstrings for demo_curvelinear_grid.py and demo_curvelinear_grid2.py to match recommended format
1 parent 85a771d commit e5529b8

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

examples/axisartist/demo_curvelinear_grid.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
"""
2-
Examples illustrate how to define curvilinar coordinates using GridHelperCurveLinear and Transformation.
2+
Custom grid and ticklines.
3+
4+
This example demonstrates how to use GridHelperCurveLinear to define
5+
custom grids and ticklines by applying a transformation on the grid.
6+
This can be used, as showcase on the second plot, to create polar
7+
projections in a rectangular box.
38
"""
49

510
import numpy as np
@@ -50,6 +55,7 @@ def inv_tr(x, y):
5055

5156

5257
import mpl_toolkits.axisartist.angle_helper as angle_helper
58+
5359
from matplotlib.projections import PolarAxes
5460
from matplotlib.transforms import Affine2D
5561

examples/axisartist/demo_curvelinear_grid2.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
"""
2-
Example illustrates how to define curvilinar coordinates using GridHelperCurveLinear.
2+
Custom grid and ticklines.
3+
4+
This example demonstrates how to use GridHelperCurveLinear to define
5+
custom grids and ticklines by applying a transformation on the grid.
6+
As showcase on the plot, a 5x5 matrix is displayed on the axes.
37
"""
48

59
import numpy as np

0 commit comments

Comments
 (0)