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: