|
@@ -1,6 +1,6 @@
|
|
|
from .DataStream import EChPosmap as pos_map
|
|
|
from .ChannelReader import ChannelReader
|
|
|
-from .ChannelPainter import ChannelPainter, ratio_pathes
|
|
|
+from .ChannelPainter import ChannelPainter, ratio_pathes, get_channels
|
|
|
from matplotlib.figure import Figure
|
|
|
from matplotlib import ticker
|
|
|
from io import BytesIO
|
|
@@ -113,4 +113,9 @@ class ChannelSpeedAnalyzePainter(ChannelPainter):
|
|
|
self._succ_hist(succs,ax_hist_succs)
|
|
|
self._succ_cdf(succs,commits,ax_succ_cdf,ax_ratio_cdf,ax_ratio_latest)
|
|
|
buf = self._flush(fig, ax_scatter, ax_succ_cdf, ax_hist_succs, ax_ratio_cdf, ax_ratio_latest)
|
|
|
- return buf
|
|
|
+
|
|
|
+ result = []
|
|
|
+ channels = get_channels()
|
|
|
+ for name in channels:
|
|
|
+ result.append(f'{name}:0.00')
|
|
|
+ return buf,result
|