Skip to content

Add a standalone "pygmt.Figure.errorbar" method #2513

@yvonnefroehlich

Description

@yvonnefroehlich

Description of the desired feature

pygmt.Figure.plot allows to add errorbars to data points. The current syntax for the error_bar parameter is:

[x|y|X|Y][+a|A][+cl|f][+n][+wcap][+ppen]

However, a standalone pygmt.Figure.errorbar method seems more Pythonic and userfriedly.

First suggested by @seisman in #2429 (comment):

Maybe we should add a standalone Figure.errorbar() method, like https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.errorbar.html.

Related to PR #2429

Are you willing to help implement and maintain this feature?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions