From b755cfaaacab695788097f04965c269c3c60d273 Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Mon, 8 Jul 2024 19:53:44 -0700 Subject: [PATCH] decode to utf-8 --- src/fluxdiagrams.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fluxdiagrams.jl b/src/fluxdiagrams.jl index db880fe6..4613476a 100644 --- a/src/fluxdiagrams.jl +++ b/src/fluxdiagrams.jl @@ -343,7 +343,7 @@ function makefluxdiagrams(bsol,ts;centralspecieslist=Array{String,1}(),superimpo end end - graph = pydot.graph_from_dot_data(graph.create_dot(prog="dot"))[1] + graph = pydot.graph_from_dot_data(graph.create_dot(prog="dot").decode("utf-8"))[1] for t in 1:length(ts) slope = -maximumnodepenwidth / log10(concentrationtol)