From 756751155d41c317e2616a9fc0d34db941d29980 Mon Sep 17 00:00:00 2001 From: Emil VATAI Date: Thu, 3 Aug 2023 18:56:03 +0900 Subject: [PATCH] Fix example --- examples/kinetics_simple.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/kinetics_simple.py b/examples/kinetics_simple.py index e5cca0f..f3f47a7 100644 --- a/examples/kinetics_simple.py +++ b/examples/kinetics_simple.py @@ -6,7 +6,8 @@ import graphviz import matplotlib.pyplot as plt import numpy as np -from radicalpy.classical import Rate, RateEquations, latex_eqlist_to_align, latexify +from radicalpy.classical import (Rate, RateEquations, latex_eqlist_to_align, + latexify, reaction_scheme) def main(): @@ -70,7 +71,7 @@ def main(): # for eq in latexify(off): # print(eq) # print(latex_eqlist_to_align(latexify(off))) - reaction_scheme(on) + reaction_scheme(__file__, on) if __name__ == "__main__":