Skip to content

Commit

Permalink
xlabel
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Sep 20, 2023
1 parent 67f30e3 commit 5abd045
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/sdist/amici/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,6 @@ def plot_expressions(

for expr in exprs:
plt.plot(rdata.t, evaluate(expr, rdata), label=str(expr))

Check warning on line 138 in python/sdist/amici/plotting.py

View check run for this annotation

Codecov / codecov/patch

python/sdist/amici/plotting.py#L137-L138

Added lines #L137 - L138 were not covered by tests

plt.legend()
plt.gca().set_xlabel("$t$")

Check warning on line 141 in python/sdist/amici/plotting.py

View check run for this annotation

Codecov / codecov/patch

python/sdist/amici/plotting.py#L140-L141

Added lines #L140 - L141 were not covered by tests

0 comments on commit 5abd045

Please sign in to comment.