@time using Plots # tag-import
import Markdown
@time for (d, feat) in collect(zip(data, feats))[1:3] # tag-all: takes >300s
@time display(Markdown.parse("## `$feat`")) # tag-md
colnames = propertynames(d)
@time plots = [Feat.plot_feat(d[!, colname]; name=colname) for colname in colnames] # tag-plot: takes average ~2s
@time display(@time plot(plots..., layout=(length(plots), 1), size=(800, 300*length(plots)))) # tag-inner: inner average <1s, tag-outer: outer takes [30, 120, 150] seconds
end
I think this is not related to first plot time and actually there's something wrong inside display, the time seems increasing (the output plot is almost the same)
I think this is not related to first plot time and actually there's something wrong inside display, the time seems increasing (the output plot is almost the same)
output like this