Skip to content

Commit

Permalink
DOC: Fix typos in comments of code examples for "Geometric Manipulati…
Browse files Browse the repository at this point in the history
…ons" (#2883)
  • Loading branch information
yvonnefroehlich committed Apr 28, 2023
1 parent e32573d commit ee31fe8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Examples

![Example 1](doc/source/gallery/test.png)

Some geographic operations return normal pandas object. The `area` property of a `GeoSeries` will return a `pandas.Series` containing the area of each item in the `GeoSeries`:
Some geographic operations return normal pandas objects. The `area` property of a `GeoSeries` will return a `pandas.Series` containing the area of each item in the `GeoSeries`:

>>> print(g.area)
0 0.5
Expand All @@ -95,8 +95,8 @@ Other operations return GeoPandas objects:
![Example 2](doc/source/gallery/test_buffer.png)

GeoPandas objects also know how to plot themselves. GeoPandas uses
[matplotlib](http://matplotlib.org) for plotting. To generate a plot of our
GeoSeries, use:
[matplotlib](http://matplotlib.org) for plotting. To generate a plot of a
`GeoSeries`, use:

>>> g.plot()

Expand Down
4 changes: 2 additions & 2 deletions doc/source/docs/user_guide/geometric_manipulations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Examples of geometric manipulations

.. image:: ../../_static/test.png

Some geographic operations return normal pandas object. The :attr:`~geopandas.GeoSeries.area` property of a :class:`~geopandas.GeoSeries` will return a :class:`pandas.Series` containing the area of each item in the :class:`~geopandas.GeoSeries`:
Some geographic operations return normal pandas objects. The :attr:`~geopandas.GeoSeries.area` property of a :class:`~geopandas.GeoSeries` will return a :class:`pandas.Series` containing the area of each item in the :class:`~geopandas.GeoSeries`:

.. sourcecode:: python

Expand All @@ -114,7 +114,7 @@ Other operations return GeoPandas objects:

.. image:: ../../_static/test_buffer.png

GeoPandas objects also know how to plot themselves. GeoPandas uses `matplotlib`_ for plotting. To generate a plot of a GeoSeries, use:
GeoPandas objects also know how to plot themselves. GeoPandas uses `matplotlib`_ for plotting. To generate a plot of a :class:`~geopandas.GeoSeries`, use:

.. sourcecode:: python

Expand Down

0 comments on commit ee31fe8

Please sign in to comment.