Skip to content

Commit d195086

Browse files
authored
Avoid introducing MPC.plot
1 parent 3833301 commit d195086

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/plot_sim.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,9 @@ sim_getu!(::StateEstimator, u, _ , _ ) = u
320320

321321

322322
# dummy plot methods to document recipes (both in ?-mode and web documentation)
323-
plot(::Nothing, ::SimResult{<:Real, <:SimModel}) = nothing
324-
plot(::Nothing, ::SimResult{<:Real, <:StateEstimator}) = nothing
325-
plot(::Nothing, ::SimResult{<:Real, <:PredictiveController}) = nothing
323+
RecipesBase.plot(::Nothing, ::SimResult{<:Real, <:SimModel}) = nothing
324+
RecipesBase.plot(::Nothing, ::SimResult{<:Real, <:StateEstimator}) = nothing
325+
RecipesBase.plot(::Nothing, ::SimResult{<:Real, <:PredictiveController}) = nothing
326326

327327
@doc raw"""
328328
plot(res::SimResult{<:Real, <:SimModel}; <keyword arguments>)
@@ -348,7 +348,7 @@ julia> using Plots; plot(res, plotu=false)
348348
```
349349
![plot_model](../assets/plot_model.svg)
350350
"""
351-
plot(::Nothing, ::SimResult{<:Real, <:SimModel})
351+
RecipesBase.plot(::Nothing, ::SimResult{<:Real, <:SimModel})
352352

353353
function get_indices(arg::IntRangeOrVector, n)
354354
if length(unique(arg)) length(arg) || maximum(arg) > n

0 commit comments

Comments
 (0)