Commit 1d1e8ba6 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 12d6f138
...@@ -253,7 +253,13 @@ def plotlat1(ax, S): ...@@ -253,7 +253,13 @@ def plotlat1(ax, S):
continue continue
s = b[1] # stats s = b[1] # stats
ax.errorbar(1, s.avg, yerr=[[s.avg-s.min], [s.max-s.avg]], capsize=2, label=name, **stylefor[name])
# 1 hand-made error bar (cannot control line styles of cap lines with errorbar)
w = 0.15
lw = None
ax.plot([1-w, 1+w], [s.min]*2, lw=lw, **stylefor[name])
ax.plot([1-w, 1+w], [s.max]*2, lw=lw, **stylefor[name])
ax.plot([1]*2, [s.min, s.max], lw=lw, **stylefor[name])
#ax.legend() # XXX temp #ax.legend() # XXX temp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment