Skip to content

Commit

Permalink
transformer docs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 committed Jan 17, 2020
1 parent 746f739 commit e7f7e27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/advanced_examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ Repeated transformations

.. versionadded:: 2.1.0

If you use the same transform, using the :class:`pyproj.Transformer` can help
If you use the same transform, using the :class:`pyproj.transformer.Transformer` can help
optimize your transformations.

.. code-block:: python
import numpy as np
from pyproj import Transformer, transform
transformer = Transformer.from_proj(2263, 4326)
transformer = Transformer.from_crs(2263, 4326)
x_coords = np.random.randint(80000, 120000)
y_coords = np.random.randint(200000, 250000)
Expand Down
3 changes: 2 additions & 1 deletion pyproj/transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def __init__(
The area of interest to help order the transformations based on the
best operation for the area.
Example:
>>> from pyproj.transformer import TransformerGroup
Expand All @@ -105,7 +106,7 @@ def __init__(
@property
def transformers(self):
"""
list[:obj:`pyproj.crs.CoordinateOperation`]:
list[:obj:`Transformer`]:
List of available :obj:`Transformer`
associated with the transformation.
"""
Expand Down

0 comments on commit e7f7e27

Please sign in to comment.