Event log visualizer TimeSeries is now created on the stack and then moved into the vector of series.

BUG=none

Review-Url: https://codereview.webrtc.org/2824973003
Cr-Commit-Position: refs/heads/master@{#17763}
This commit is contained in:
philipel
2017-04-19 05:58:51 -07:00
committed by Commit bot
parent 13fc18068f
commit 35ba9bd597
4 changed files with 60 additions and 66 deletions

View File

@ -33,6 +33,7 @@ void PythonPlot::Draw() {
printf("rgb_colors = [colorsys.hls_to_rgb(*hls) for hls in hls_colors]\n");
for (size_t i = 0; i < series_list_.size(); i++) {
printf("\n# === Series: %s ===\n", series_list_[i].label.c_str());
// List x coordinates
printf("x%zu = [", i);
if (series_list_[i].points.size() > 0)