Skip to content

Commit 5c107d7

Browse files
committed
Improve example
1 parent cb7f65f commit 5c107d7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/input_output_function.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ using ModelingToolkit: setu, getu
1919

2020
PLOT = true
2121
if PLOT
22-
using ControlPlots
22+
using Pkg
23+
if ! ("LaTeXStrings" keys(Pkg.project().dependencies))
24+
using TestEnv; TestEnv.activate()
25+
end
26+
using ControlPlots, LaTeXStrings
2327
end
2428

2529
include(joinpath(@__DIR__, "plotting.jl"))

0 commit comments

Comments
 (0)