Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yvonnefroehlich opened this issue Apr 23, 2023 · 0 comments
Open

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

yvonnefroehlich opened this issue Apr 23, 2023 · 0 comments
Labels
feature request New feature wanted

Comments

@yvonnefroehlich
Copy link
Member

yvonnefroehlich commented Apr 23, 2023

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

@yvonnefroehlich yvonnefroehlich added the feature request New feature wanted label Apr 23, 2023
@yvonnefroehlich yvonnefroehlich changed the title Add a standalone "pygmt.Figure.errobar" method Add a standalone "pygmt.Figure.errorbar" method Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature wanted
Projects
None yet
Development

No branches or pull requests

1 participant