Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Description
Original report at SourceForge, opened Wed Sep 1 13:52:54 2010
When using log scale, if the error is larger than flux, the error bar does not plot at all:
import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(1, 1, 1)
ax.errorbar([1.],[1.],yerr=[2.])
ax.set_yscale('log')
fig.savefig('test.png')
However, I think it would make more correct to plot the line for the errorbar, and to make it go down to -infinity.