Change the default size of event log figures to 10 inches wide.

Bug: webrtc:15469
Change-Id: I1e4149d1df255f393ef842605cb29a3e1d3e5b89
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/318840
Reviewed-by: Nikita Gureev <gureev@google.com>
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#40691}
This commit is contained in:
Bjorn Terelius 2023-09-04 16:47:17 +02:00 committed by WebRTC LUCI CQ
parent f2827c4b1a
commit 03fcbb3d5f

View File

@ -303,6 +303,7 @@ void PlotCollection::PrintPythonCode(
printf("import matplotlib.patheffects as pe\n"); printf("import matplotlib.patheffects as pe\n");
printf("import colorsys\n"); printf("import colorsys\n");
printf("import os\n"); printf("import os\n");
printf("plt.rcParams['figure.figsize'] = [10, 3]\n");
for (size_t i = 0; i < plots_.size(); i++) { for (size_t i = 0; i < plots_.size(); i++) {
printf("plt.figure(%zu)\n", i); printf("plt.figure(%zu)\n", i);
if (shared_xaxis) { if (shared_xaxis) {