From 929bd12a1d650f7aeff5a3d436cef4485899ce4a Mon Sep 17 00:00:00 2001
From: Daniel Weindl <daniel.weindl@helmholtz-muenchen.de>
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: