JuliaPlots/Plots.jl

[BUG] Pyplot errorbar markers are not centered

Open

#2,823 opened on Jun 30, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Julia (1,943 stars) (381 forks)batch import
PyPlotbuggood first issue

Description

#2542 # Backends

This bug occurs on ( insert x below )

Backend yes no untested
gr (default) x
pyplot x
plotly
plotlyjs
pgfplotsx
inspectdr

image

Notice how error caps are not exactly in the middle: image

I was thinking it related to matplotlib/matplotlib#7233

A hack could be to comment out this line https://github.com/JuliaPlots/Plots.jl/blob/709a8a96093b512693b8703d195b5a5da0636a13/src/backends/pyplot.jl#L128

However, maybe there is a more graceful way to handle this?

I'm not sure about the exact origin of this issue right now

Contributor guide