From f8fd60b706b7b819dd02104cd60dff2d6541f63b Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Thu, 8 Feb 2024 08:13:08 +0100 Subject: [PATCH] Actually show the legend --- fosdem_video_progress.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fosdem_video_progress.py b/fosdem_video_progress.py index 51e1394..ceed713 100755 --- a/fosdem_video_progress.py +++ b/fosdem_video_progress.py @@ -65,6 +65,7 @@ def main(): # ys are transposed – we need vectors by times, not by states. ys = list(zip(*ys)) plt.stackplot(x, ys, labels=states) + plt.legend(loc='upper left') print('showing plot') plt.show(block=False)