You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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,
there are examples which use 'function' for the methods of the pygmt.Figure class, e.g.:
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.
The text was updated successfully, but these errors were encountered:
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,
pygmt.Figure
class, e.g.:pygmt.Figure.subplot
functionpygmt.project
methodpygmt.grdlandmask
methodpygmt.blockmean
methodI 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.
The text was updated successfully, but these errors were encountered: