From 29fbdbf5caed7613f4c5f5cf052b70daa429f905 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Wed, 20 Sep 2023 10:57:27 +0200 Subject: [PATCH] fixup --- python/sdist/amici/plotting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sdist/amici/plotting.py b/python/sdist/amici/plotting.py index 330e74edea..17fe4d1c5a 100644 --- a/python/sdist/amici/plotting.py +++ b/python/sdist/amici/plotting.py @@ -131,7 +131,7 @@ def plot_expressions( :param rdata: The simulation results. """ - if not isinstance(exprs, Sequence): + if not isinstance(exprs, Sequence) or isinstance(exprs, str): exprs = [exprs] for expr in exprs: