We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Scatter plots do not accept errorbar keyword arguments such as capsize, elinewidth, etc
plot.scatter should pass keyword arguments specific to matplotlib's errorbar function to errobar() so errorbars can be customized.
None?
Instead of passing xerr or yerr to plot.scatter and letting pandas plot errorbars, call ax.errobar manually after ax = plot.scatter
df = pd.DataFrame(data={'x': [0, 1, 2, 3, 4, 5, 6], 'y': [0, 2, 5, 4, 7, 6, 11], 'yerr': [1, .2, .3, .4, .5, .6, .5], 'xerr': [.5, .6, .5, 1, .2, .3, .4, ]}, ) df.plot(kind='scatter', x='x', y='y', xerr='xerr', yerr='yerr', s=60, fc='none', ec='r', capsize=3, elinewidth=0.5, ecolor='b', errorevery=2) AttributeError: 'PathCollection' object has no property 'capsize'
The text was updated successfully, but these errors were encountered:
ENH: _make_plot passes errorbar specific keyword arguments to ax.erro…
e0f181b
…rbar() (pandas-dev#46952)
ENH: plot.scatter passes errorbar specific keyword arguments to ax.er…
838cabc
…rorbar() (pandas-dev#46952)
ENH: plot.scatter now accepts errorbar specific keyword arguments for…
01717d5
… customizing errorbars (pandas-dev#46952)
Successfully merging a pull request may close this issue.
Is your feature request related to a problem?
Scatter plots do not accept errorbar keyword arguments such as capsize, elinewidth, etc
Describe the solution you'd like
plot.scatter should pass keyword arguments specific to matplotlib's errorbar function to errobar() so errorbars can be customized.
API breaking implications
None?
Describe alternatives you've considered
Instead of passing xerr or yerr to plot.scatter and letting pandas plot errorbars, call ax.errobar manually after ax = plot.scatter
Additional context
The text was updated successfully, but these errors were encountered: