Suppress max figures open warning.

Bug: none
Change-Id: I8664c8e371c8622da45510be0e1f732657f5e643
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/130504
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Commit-Queue: Konrad Hofbauer <hofbauer@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27367}
This commit is contained in:
Konrad Hofbauer
2019-03-29 15:39:53 +01:00
committed by Commit Bot
parent 921db614cc
commit 9316c1a8b1

View File

@ -164,6 +164,7 @@ PythonPlotCollection::~PythonPlotCollection() {}
void PythonPlotCollection::Draw() {
printf("import matplotlib.pyplot as plt\n");
printf("plt.rcParams.update({'figure.max_open_warning': 0})\n");
printf("import matplotlib.patches as mpatches\n");
printf("import matplotlib.patheffects as pe\n");
printf("import colorsys\n");