Skip to content

Commit 2791d52

Browse files
committed
add periods as possible argument to vary
1 parent 17462ea commit 2791d52

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ext/StatsPlotsExt.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const args_and_kwargs_names = Dict(:model_name => "Model",
3232
:shock_size => "Shock size",
3333
:negative_shock => "Negative shock",
3434
:generalised_irf => "Generalised IRF",
35+
:periods => "Periods",
3536
:ignore_obc => "Ignore OBC",
3637
# :tol => "Tolerance",
3738
:quadratic_matrix_equation_algorithm => "Quadratic Matrix Equation Algorithm",
@@ -1394,7 +1395,9 @@ function plot_irf!(𝓂::ℳ;
13941395

13951396
same_shock_direction = true
13961397

1397-
for k in setdiff(keys(args_and_kwargs), [:run_id, :periods, :shocks, :variables, :parameters, :initial_state, :plot_data, :tol, :reference_steady_state,
1398+
for k in setdiff(keys(args_and_kwargs), [:run_id,
1399+
# :periods,
1400+
:shocks, :variables, :parameters, :initial_state, :plot_data, :tol, :reference_steady_state,
13981401
# :quadratic_matrix_equation_algorithm, :sylvester_algorithm, :lyapunov_algorithm,
13991402
:variable_names, :shock_names, :shock_idx, :var_idx])
14001403
if haskey(diffdict, k)

0 commit comments

Comments
 (0)