File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
NetworkDynamicsInspector/src Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -323,10 +323,10 @@ To automaticially create commands see [`dump_app_state()`](@ref).
323
323
function set_timeseries! (key; selcomp = NotSpecified (),
324
324
states = NotSpecified (),
325
325
rel = NotSpecified ())
326
- if ! haskey (appstate (). tsplots, key)
327
- appstate (). tsplots[key] = TimeseriesPlot ()
326
+ if ! haskey (appstate (). tsplots[] , key)
327
+ appstate (). tsplots[][ key] = TimeseriesPlot ()
328
328
end
329
- tsplot = appstate (). tsplots[key]
329
+ tsplot = appstate (). tsplots[][ key]
330
330
set_maybe! (tsplot. selcomp, selcomp)
331
331
set_maybe! (tsplot. states, states)
332
332
set_maybe! (tsplot. rel, rel)
@@ -349,8 +349,8 @@ function define_timeseries!(tsarray)
349
349
else
350
350
tskeys = keys (appstate (). tsplots[])
351
351
end
352
- for (key, ts ) in zip (tskeys, tsarray)
353
- set_timeseries! (key; pop! ( tsargs) ... )
352
+ for (key, tsargs ) in zip (tskeys, tsarray)
353
+ set_timeseries! (key; tsargs... )
354
354
end
355
355
nothing
356
356
end
You can’t perform that action at this time.
0 commit comments