mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
Update event_log_visualizer tool to avoid matplotlib 3.4 deprecation warnings.
Bug: None Change-Id: I973f7b460d0a86aa249e3539b8a5d5fdbc76ae1a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/263441 Commit-Queue: Björn Terelius <terelius@webrtc.org> Reviewed-by: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37040}
This commit is contained in:
parent
51e5bacb8b
commit
4a7883f442
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ void Plot::PrintPythonCode() const {
|
|||
printf("plt.ylabel(\'%s\')\n", yaxis_label_.c_str());
|
||||
printf("plt.title(\'%s\')\n", title_.c_str());
|
||||
printf("fig = plt.gcf()\n");
|
||||
printf("fig.canvas.set_window_title(\'%s\')\n", id_.c_str());
|
||||
printf("fig.canvas.manager.set_window_title(\'%s\')\n", id_.c_str());
|
||||
if (!yaxis_tick_labels_.empty()) {
|
||||
printf("yaxis_tick_labels = [");
|
||||
for (const auto& kv : yaxis_tick_labels_) {
|
||||
|
|
Loading…
Reference in a new issue