|
@@ -45,7 +45,7 @@ class ChannelCovSuccPainter(ChannelPainter):
|
|
|
chname_ratios = []
|
|
|
for _chname, _card_type, _spec, _data in gen:
|
|
|
succ, commit,succs,counts = calc_cov_chsuccs(_data, pos_map, _start_time - day_stamp, _end_time - day_stamp, window, left_len,right_len)
|
|
|
- label = self._label(chname=_chname, succ=succs, count=counts, card_type=_card_type, spec=_spec)
|
|
|
+ label, ratio = self._label(chname=_chname, succ=succs, count=counts, card_type=_card_type, spec=_spec)
|
|
|
ax.plot(x, succ, ls='-', label=label)
|
|
|
ax.plot(x, commit / 100, ls='--', label=label)
|
|
|
|