Skip to content

Commit 5c4a4ae

Browse files
committed
Fix plotting issue
1 parent 8f559f5 commit 5c4a4ae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/steering_test_4p.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if PLOT
5454
end
5555
using ControlPlots, StatsBase
5656
using ControlPlots: plt
57-
close("all")
57+
plt.close("all")
5858
end
5959

6060
function simulate(integrator, steps; plot=false)
@@ -132,7 +132,7 @@ function shift_vector(vec, shift)
132132
end
133133

134134
function plot_steering_vs_turn_rate()
135-
close("all")
135+
plt.close("all")
136136
lg = load_log("tmp")
137137
sl = lg.syslog
138138
psi = rad2deg.(wrap2pi.(sl.heading))

0 commit comments

Comments
 (0)