Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e5529b8

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

File tree

Expand file treeCollapse file tree

2 files changed

+12
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+12
-2
lines changed

‎examples/axisartist/demo_curvelinear_grid.py

Copy file name to clipboardExpand all lines: examples/axisartist/demo_curvelinear_grid.py
+7-1Lines 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

Copy file name to clipboardExpand all lines: examples/axisartist/demo_curvelinear_grid2.py
+5-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.