Skip to content

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

Open

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

Activity

  1. changed the title [-]Add a standalone "pygmt.Figure.errobar" method[/-] [+]Add a standalone "pygmt.Figure.errorbar" method[/+] on Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions