Skip to content

Commit 7702c50

Browse files
committed
stop using pyplot in favour of the default (GR) in notebook 4
1 parent 21bf8bf commit 7702c50

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

examples/4. Jacobian IK and Control/4. Jacobian IK and Control.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,7 @@ setanimation!(vis, Animation(vis, ts, qs))
181181

182182
# Now we can plot the behavior of the controller. The initial state is quite far from the target, so there's some significant overshoot early in the trajectory, but the controller eventually settles into tracking the desired circular path. This controller isn't very well-tuned, and we could certainly do better with a more advanced approach, but this is still a nice demonstration of a very simple control policy.
183183

184-
using Plots: pyplot, plot
185-
pyplot()
184+
using Plots: plot
186185

187186
xs = Float64[]
188187
zs = Float64[]

examples/4. Jacobian IK and Control/Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ GeometryTypes = "4d00f742-c7ba-57c2-abde-4428a4b178cb"
44
MeshCat = "283c5d60-a78f-5afe-a0af-af636b173e11"
55
MeshCatMechanisms = "6ad125db-dd91-5488-b820-c1df6aab299d"
66
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
7-
PyPlot = "d330b81b-6aea-500a-939a-2ce795aea3ee"
87
RigidBodyDynamics = "366cf18f-59d5-5db9-a4de-86a9f6786172"
98
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
109

0 commit comments

Comments
 (0)