Skip to content

Commit

Permalink
Fix Union formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
minimaxir committed May 28, 2020
1 parent 6c27315 commit 74bc2eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
setup(
name="stylecloud",
packages=["stylecloud"], # this must be the same as the name above
version="0.5.0",
version="0.5.1",
description="Python package + CLI to generate stylistic wordclouds, "
"including gradients and icon shapes!",
long_description=long_description,
Expand Down
4 changes: 2 additions & 2 deletions stylecloud/stylecloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,12 @@ def gen_stylecloud(
size: int = 512,
icon_name: str = "fas fa-flag",
palette: str = "cartocolors.qualitative.Bold_5",
colors: Union(str, List[str]) = None,
colors: Union[str, List[str]] = None,
background_color: str = "white",
max_font_size: int = 200,
max_words: int = 2000,
stopwords: bool = True,
custom_stopwords: Union(List[str], set) = STOPWORDS,
custom_stopwords: Union[List[str], set] = STOPWORDS,
add_stopwords: bool = False,
icon_dir: str = ".temp",
output_name: str = "stylecloud.png",
Expand Down

0 comments on commit 74bc2eb

Please sign in to comment.