Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
9 changes: 9 additions & 0 deletions doc/_templates/autosummary/class.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@

.. autoclass:: {{ objname }}

{% if attributes %}
.. rubric:: Attributes

{% for item in attributes %}
.. autoproperty::
{{ objname }}.{{ item }}
{% endfor %}
{% endif %}

{% if methods != ["__init__"] %}
.. rubric:: Methods Summary

Expand Down
9 changes: 0 additions & 9 deletions pygmt/accessors.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@ class GMTDataArrayAccessor:
properties about grids, which are important for PyGMT to correctly process
and plot the grids.

Attributes
----------

registration : int
Registration type of the grid, either 0 (Gridline) or 1 (Pixel).
gtype : int
Coordinate system type of the grid, either 0 (Cartesian) or 1
(Geographic).

Notes
-----

Expand Down