Skip to content

Add scatter_contour error bars - #223

Open
arjunsavel wants to merge 10 commits into
astroML:mainfrom
arjunsavel:scatter_contour_errorbars
Open

Add scatter_contour error bars#223
arjunsavel wants to merge 10 commits into
astroML:mainfrom
arjunsavel:scatter_contour_errorbars

Conversation

@arjunsavel

Copy link
Copy Markdown

Follow-up on #222. I've added functionality for scatter_contour to handle error bars. This essentially amounts to changing the ax.scatter call to ax.errorbar and ensuring that user inputs (including None for xerr and/or yerr) are properly coerced and passed to the function call. I've tried to do this with minimal disruption to the organization of scatter_contour while replicating the direct function of ax.errorbar, but this definitely isn't the most parsimonious way to go about it.

Screen shots for each type of error bar input (as applied to SDSS Stripe 82 standard stars) are below. The only extra plot_arg that I've added for these figures is ecolor='gray'. Happy to add tests or further documentation!

no_err
only_x
only_y
symm_same_val
symm_diff_val
asymm_varied_x

@arjunsavel arjunsavel changed the title Add scatter contour error bars Add scatter_contour error bars Jul 26, 2020
Base automatically changed from master to main February 24, 2021 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant