-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from csiro-coasts/landmarks
Add emsarray.plot.add_landmarks(), landmarks parameters
- Loading branch information
Showing
8 changed files
with
169 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,5 @@ API reference | |
utils.rst | ||
tutorial.rst | ||
plot.rst | ||
types.rst | ||
exceptions.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.. module:: emsarray.types | ||
|
||
============== | ||
emsarray.types | ||
============== | ||
|
||
.. automodule:: emsarray.types | ||
:noindex: | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
"""Collection of type aliases used across the library.""" | ||
""" | ||
A collection of descriptive type aliases used across the library. | ||
""" | ||
|
||
import os | ||
from typing import Tuple, Union | ||
|
||
import shapely | ||
|
||
#: Something that can be used as a path. | ||
Pathish = Union[os.PathLike, str] | ||
|
||
#: Bounds of a geometry or of an area. | ||
#: Components are ordered as (min x, min y, max x, max y). | ||
Bounds = Tuple[float, float, float, float] | ||
|
||
#: A landmark for a plot. | ||
#: This is a tuple of the landmark name and and its location. | ||
Landmark = Tuple[str, shapely.Point] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters