@@ -166,26 +166,8 @@ function get_states_contResults(iter::DefContIterable, roots::Vector{Tvec}) wher
166
166
end
167
167
168
168
# plotting functions
169
- function plot_DCont_branch (branches,
170
- nbrs:: Int ,
171
- nactive:: Int ,
172
- nstep:: Int )
173
- _bcd_plot = get_plot_backend ()
174
- if _bcd_plot == BK_Plots ()
175
- plot (branches... ; label = " " , title = " $nbrs branches, actives = $(nactive) , step = $nstep " )
176
- else
177
- plot (branches... )
178
- end
179
- for br in branches
180
- (length (br) > 1 && _bcd_plot == BK_Plots ()) && plot! ([br. branch[end - 1 : end ]. param],
181
- [getproperty (br. branch,1 )[end - 1 : end ]],
182
- label = " " , arrow = true , color = :red )
183
- end
184
- _bcd_plot == BK_Plots () && scatter! ([br. branch[1 ]. param for br in branches],
185
- [br. branch[1 ][1 ] for br in branches],
186
- marker = :cross , color= :green , label = " " ) |> display
187
- end
188
- plotAllDCBranch (branches) = display (plot (branches... , label = " " ))
169
+ function plotAllDCBranch end
170
+ function plot_DCont_branch end
189
171
190
172
191
173
"""
@@ -316,7 +298,7 @@ function deflatedContinuation(dcIter::DefContIterable,
316
298
# number of active branches
317
299
nactive = mapreduce (isactive, + , dcstates)
318
300
if plot && mod (nstep, contParams. plot_every_step) == 0
319
- plot_DCont_branch (branches, nbrs, nactive, nstep)
301
+ plot_DCont_branch (get_plot_backend (), branches, nbrs, nactive, nstep)
320
302
end
321
303
322
304
# only look for new branches if the number of active branches is too small
0 commit comments