A one-liner would be
restyle!(fig, findall(x -> endswith(String(x[:name]), "_calc"), fig.plot.data), line_dash="dash")
Above the first argument to findall is an anonymous function.
A one-liner would be
restyle!(fig, findall(x -> endswith(String(x[:name]), "_calc"), fig.plot.data), line_dash="dash")
Above the first argument to findall is an anonymous function.