Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

tags is overlapped #23

Open
thanhbx opened this issue Jul 8, 2016 · 0 comments
Open

tags is overlapped #23

thanhbx opened this issue Jul 8, 2016 · 0 comments

Comments

@thanhbx
Copy link

thanhbx commented Jul 8, 2016

tags is not generated perfectly on my server. they are overlapped and incorrect position and size
cloud_large

Here is my simple code

from pytagcloud import create_tag_image, make_tags, LAYOUT_HORIZONTAL, LAYOUTS, LAYOUT_MIX, LAYOUT_VERTICAL, LAYOUT_MOST_HORIZONTAL, LAYOUT_MOST_VERTICAL
from pytagcloud.lang.counter import get_tag_counts

text = "abc sda 123 343 hello world asia innovation djaksdja daksjdaslkd alkdha djhasjkdahskjdahsd kjasdjkasd jkah dakj djfsdhf kjsfhd sdjfhs kjfshd k"
tags = make_tags(get_tag_counts(text), maxsize=80, minsize=20)
create_tag_image(tags, '/home/hoanghua/cloud_large.png', size=(900, 900), fontname='Lobster')

Please help me to find out the issue. Thanks in advance

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant