Update config.py

This commit is contained in:
2025-04-18 17:08:37 +02:00
parent 8b648639f4
commit c4a0208a53

View File

@@ -1,16 +1,16 @@
from wordcloud import WordCloud # type: ignore from wordcloud import WordCloud # type: ignore
wordcloud = WordCloud( wordcloud = WordCloud(
width=800, width=1920,
height=400, height=1080,
background_color="black", # or 'black', or any HTML color background_color="black", # or 'black', or any HTML color
colormap="viridis", # matplotlib colormap ('plasma', 'cool', 'inferno') colormap="viridis", # matplotlib colormap ('plasma', 'cool', 'inferno')
# font_path="path/to/font.ttf", # Use a custom font # font_path="path/to/font.ttf", # Use a custom font
max_words=100, # Max number of words to include max_words=100, # Max number of words to include
min_font_size=10, min_font_size=10,
max_font_size=100, max_font_size=200,
prefer_horizontal=1, # Between 0 (all vertical) and 1 (all horizontal) prefer_horizontal=1, # Between 0 (all vertical) and 1 (all horizontal)
scale=2, # Higher = better resolution scale=4, # Higher = better resolution
contour_color="steelblue", # Outline color (when using contour_width) contour_color="steelblue", # Outline color (when using contour_width)
contour_width=1, # For consistent layout between runs contour_width=1, # For consistent layout between runs
) )