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

Skip to content

Commit 85a771d

Browse files
committed
Improves and shortens the docstrings for demo_curvelinear_grid.py and demo_curvelinear_grid2.py
1 parent aacb002 commit 85a771d

2 files changed

Lines changed: 2 additions & 13 deletions

File tree

examples/axisartist/demo_curvelinear_grid.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
"""
2-
Demo of defining curvilinear coordinate using GridHelperCurveLinear and Transformation.
3-
In curvelinear_test1: Use GridHelper class
4-
* User provides two transformtions function between curved coordinate and rectlinear coordinate
5-
* Calling GridHelperCurveLinear on those two functions.
6-
* Setting a subplot positioned by the given gird definition
7-
In curvelinear_test2: Use Affine2D transform
8-
* Calling PolerTransform
9-
* Setting the range of coordinate using Extream Finder
10-
* Locate the coordinate with LocatorDMS and format them with FormatterDMS
11-
* Calling GridHelperCurveLinear
12-
* Setting a subplot positioned by the given gird definition
2+
Examples illustrate how to define curvilinar coordinates using GridHelperCurveLinear and Transformation.
133
"""
144

155
import numpy as np

examples/axisartist/demo_curvelinear_grid2.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
"""
2-
Demo of defining curvilinear coordinate using GridHelper.
2+
Example illustrates how to define curvilinar coordinates using GridHelperCurveLinear.
33
"""
44

5-
65
import numpy as np
76
import matplotlib.pyplot as plt
87

0 commit comments

Comments
 (0)