Support event log visualization in python3
Bug: webrtc:12431 Change-Id: I54910e862ab8de013879af632efc2f3834d80552 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/205526 Reviewed-by: Elad Alon <eladalon@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33170}
This commit is contained in:
committed by
Commit Bot
parent
65b901bbb1
commit
8db9534909
@ -127,9 +127,8 @@ void Plot::PrintPythonCode() const {
|
||||
// There is a plt.bar function that draws bar plots,
|
||||
// but it is *way* too slow to be useful.
|
||||
printf(
|
||||
"plt.vlines(x%zu, map(lambda t: min(t,0), y%zu), map(lambda t: "
|
||||
"max(t,0), y%zu), color=colors[%zu], "
|
||||
"label=\'%s\')\n",
|
||||
"plt.vlines(x%zu, [min(t,0) for t in y%zu], [max(t,0) for t in "
|
||||
"y%zu], color=colors[%zu], label=\'%s\')\n",
|
||||
i, i, i, i, series_list_[i].label.c_str());
|
||||
if (series_list_[i].point_style == PointStyle::kHighlight) {
|
||||
printf(
|
||||
|
||||
Reference in New Issue
Block a user