@@ -193,7 +193,7 @@ function Catalyst.plot_network(rn::ReactionSystem; kwargs...)
193
193
layout = if ! haskey (kwargs, :layout )
194
194
Stress ()
195
195
end
196
- f, ax, p = graphplot (srg;
196
+ f = graphplot (srg;
197
197
layout,
198
198
edge_color = edgecolors,
199
199
elabels = edgelabels,
@@ -207,10 +207,10 @@ function Catalyst.plot_network(rn::ReactionSystem; kwargs...)
207
207
kwargs...
208
208
)
209
209
210
- ax . xautolimitmargin = (0.15 , 0.15 )
211
- ax . yautolimitmargin = (0.15 , 0.15 )
210
+ f . axis . xautolimitmargin = (0.15 , 0.15 )
211
+ f . axis . yautolimitmargin = (0.15 , 0.15 )
212
212
213
- f, ax, p
213
+ f
214
214
end
215
215
216
216
"""
@@ -248,7 +248,7 @@ function Catalyst.plot_complexes(rn::ReactionSystem; show_rate_labels = false, k
248
248
layout = if ! haskey (kwargs, :layout )
249
249
Stress ()
250
250
end
251
- f, ax, p = graphplot (cg;
251
+ f = graphplot (cg;
252
252
layout,
253
253
edge_color = edgecolors[rxorder],
254
254
elabels = show_rate_labels ? edgelabels[rxorder] : [],
@@ -260,10 +260,10 @@ function Catalyst.plot_complexes(rn::ReactionSystem; show_rate_labels = false, k
260
260
curve_distance = gen_distances (cg),
261
261
kwargs...
262
262
)
263
- ax . xautolimitmargin = (0.15 , 0.15 )
264
- ax . yautolimitmargin = (0.15 , 0.15 )
263
+ f . axis . xautolimitmargin = (0.15 , 0.15 )
264
+ f . axis . yautolimitmargin = (0.15 , 0.15 )
265
265
266
- f, ax, p
266
+ f
267
267
end
268
268
269
269
function complexelem_tostr (e:: Catalyst.ReactionComplexElement , specstrs)
0 commit comments