From e44f6b3ef7df6a256b59d6b05cd804939ca88300 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Sat, 23 May 2020 14:56:37 +0200 Subject: [PATCH] fix --- rowers/interactiveplots.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index bc68f342..6bebbd2a 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -5216,7 +5216,10 @@ def interactive_multiple_compare_chart(ids,xparam,yparam,plottype='line', hover.tooltips = TIPS if labeldict: - legend=labeldict[id] + try: + legend=labeldict[id] + except KeyError: + legend = str(id) else: legend=str(id)