pygmt icon indicating copy to clipboard operation
pygmt copied to clipboard

Inconsistent usage of 'function' and 'method'

Open yvonnefroehlich opened this issue 3 years ago • 2 comments

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.

yvonnefroehlich avatar Jul 28 '22 14:07 yvonnefroehlich

Good catch @yvonnefroehlich! Glad to review a PR for this if you want to submit a correction for these misnomers.

maxrjones avatar Aug 02 '22 18:08 maxrjones

I try to work on this over time.

yvonnefroehlich avatar Aug 03 '22 10:08 yvonnefroehlich