I have a histogram inside a jmd file that I want to plot:
```julia; echo = false
using Plots
gr()
h = histogram(WEAVE_ARGS.dict["p_reads"], label="",
xlabel="Number of reads",
linecolor="white",
normalize=:probability,
xtickfontsize=10,ytickfontsize=10,
color=:mediumturquoise, size=(500,350), bins = 25,
xlim=((25, 125)),
ylabel="Relative frequency",
title="gRNA frequency distribution") ```
Which makes Weave hang:
┌ Info: Weaving chunk 1 from line 24
└ progress = 0.0
┌ Info: Weaving chunk 2 from line 46
└ progress = 0.25
┌ Info: Weaving chunk 3 from line 55
└ progress = 0.5
Plotting from the command line works fine:
julia> @time histogram(p_reads, label="",
xlabel="Number of reads",
linecolor="white",
normalize=:probability,
xtickfontsize=10,ytickfontsize=10,
color=:mediumturquoise, size=(500,350), bins = 25,
xlim=((25, 125)),
ylabel="Relative frequency",
title="gRNA frequency distribution")
0.001918 seconds (7.75 k allocations: 329.570 KiB)
Any advice?