From 00587b03ff76a6aebe598005e2d2ef86254ba034 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Thu, 27 Jul 2023 12:25:28 +0200 Subject: [PATCH] .. --- python/sdist/amici/plotting.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/sdist/amici/plotting.py b/python/sdist/amici/plotting.py index aa93bd7011..e99be7d969 100644 --- a/python/sdist/amici/plotting.py +++ b/python/sdist/amici/plotting.py @@ -6,6 +6,7 @@ from typing import Iterable, Optional, Sequence, Union import matplotlib.pyplot as plt +import numpy as np import pandas as pd import seaborn as sns import sympy as sp @@ -120,7 +121,7 @@ def plot_jacobian(rdata: ReturnDataView): plotObservableTrajectories = plot_observable_trajectories -def evaluate(expr: StrOrExpr, rdata: ReturnDataView) -> "numpy.array": +def evaluate(expr: StrOrExpr, rdata: ReturnDataView) -> np.array: """Evaluate a symbolic expression based on the given simulation outputs. :param expr: