mirror of
https://github.com/simon-brooke/clj-wordcloud.git
synced 2026-01-12 22:49:52 +00:00
Add specs and single arity for word-cloud
This commit is contained in:
parent
ebe2fe049d
commit
5832b23d3b
3 changed files with 50 additions and 4 deletions
|
|
@ -28,7 +28,7 @@
|
|||
(write-to-file word-cloud "example_circle.png"))
|
||||
|
||||
|
||||
(let [frequency-map (zipmap (range 100 150) (shuffle (range 300)))
|
||||
(let [frequency-map (zipmap (map str (range 100 150)) (shuffle (range 300)))
|
||||
word-cloud (word-cloud frequency-map
|
||||
{:dimension {:width 600
|
||||
:height 600}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue