@@ -3,11 +3,11 @@ using WordCloud
3
3
using Random
4
4
# Random.seed!(8)
5
5
6
- println (" This test will take several minutes" )
6
+ println (" This test will take several minutes. " )
7
7
@show Threads. nthreads ()
8
8
words = [Random. randstring (rand (1 : 8 )) for i in 1 : 200 ]
9
9
weights = randexp (length (words)) .* 2000 .+ rand (20 : 100 , length (words));
10
- wc1 = wordcloud (words, weights, mask= shape (ellipse, 500 , 500 , color= 0.15 ), masksize= :original , angles= (0 , 90 , 45 ), density = 0.55 )
10
+ wc1 = wordcloud (words, weights, mask= shape (ellipse, 500 , 500 , color= 0.15 ), masksize= :original , angles= (0 , 90 , 45 ))
11
11
12
12
words = [Random. randstring (rand (1 : 8 )) for i in 1 : 400 ]
13
13
weights = randexp (length (words)) .* 2000 .+ rand (20 : 100 , length (words));
@@ -24,6 +24,7 @@ WordCloud.Stuffing.trainepoch_P!,WordCloud.Stuffing.trainepoch_P2!,WordCloud.Stu
24
24
es = [[] for i in 1 : length (wcs)]
25
25
for (i, wc) in enumerate (wcs)
26
26
println (" \n\n " , " *" ^ 10 , " wordcloud - $(length (wc)) words on mask$(size (wc. mask)) " , " *" ^ 10 )
27
+ i == 4 && deleteat! (ts, lastindex (ts)- 2 : lastindex (ts)) # too slow
27
28
for (j, t) in enumerate (ts)
28
29
println (" \n " , i - 1 , " ==== " , j, " /" , length (ts), " " , nameof (t))
29
30
placewords! (wc, style= :uniform )
0 commit comments