Skip to content

Adds docstrings to demo_curvelinear_grid.py and demo_curvelinear_grid… #7250

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 20, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improves and shortens the docstrings for demo_curvelinear_grid.py and…
… demo_curvelinear_grid2.py
  • Loading branch information
trpham committed Oct 13, 2016
commit 85a771d1b0607354e3583a2ec2ecf7f8206092c9
12 changes: 1 addition & 11 deletions examples/axisartist/demo_curvelinear_grid.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
"""
Demo of defining curvilinear coordinate using GridHelperCurveLinear and Transformation.
In curvelinear_test1: Use GridHelper class
* User provides two transformtions function between curved coordinate and rectlinear coordinate
* Calling GridHelperCurveLinear on those two functions.
* Setting a subplot positioned by the given gird definition
In curvelinear_test2: Use Affine2D transform
* Calling PolerTransform
* Setting the range of coordinate using Extream Finder
* Locate the coordinate with LocatorDMS and format them with FormatterDMS
* Calling GridHelperCurveLinear
* Setting a subplot positioned by the given gird definition
Examples illustrate how to define curvilinar coordinates using GridHelperCurveLinear and Transformation.
"""

import numpy as np
Expand Down
3 changes: 1 addition & 2 deletions examples/axisartist/demo_curvelinear_grid2.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
"""
Demo of defining curvilinear coordinate using GridHelper.
Example illustrates how to define curvilinar coordinates using GridHelperCurveLinear.
"""


import numpy as np
import matplotlib.pyplot as plt

Expand Down