Skip to content

Inconsistent usage of 'function' and 'method' #2029

Closed
@yvonnefroehlich

Description

@yvonnefroehlich

It seems that the terms 'function' and 'method' are used exchangeable in the tutorial and gallery examples.

From my understanding, in Python a method belongs to a class and is associated with / called on an object. This is consistent to the API Documentation of the pygmt.Figure class.

However,

I think, we should be precise and consistent with the terminology (at least in the way that something is always either a function or a method) to avoid confusions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions