Reputation: 5741
I am using matplotlib
to make a scatter plot with upper and lower limits. I noticed that my lower limits are plotted with arrows pointing downwards instead of upwards and vice versa.
Any idea why is this the case?
Here is an example:
x = [1, 2, 3, 4]
y = [5, 6, 7, 8]
fig = figure()
ax = fig.add_subplot(111)
ax.errorbar(x, y, yerr=0.1, lolims=True)
I could just switch them, but it does not feel right :p
Thanks.
Upvotes: 2
Views: 764
Reputation: 11012
This is an open issue : https://github.com/matplotlib/matplotlib/pull/2452
From what I see, there is a fix proposed three months ago, but it has hasn't been accepted yet. Anyway, you can patch yourself the modified files, and wait for the next iteration of matplotlib.
Upvotes: 3