Skip to content

Using --colormap has no effect #649

@DannyBen

Description

@DannyBen

Description

Using --colormap NAME from the CLI, with any of the supported colormap names does not seem to have any impact on the result.

Steps/Code to Reproduce

All these CLI calls produce the same result:

wordcloud_cli \
  --text tmp/debug.txt --random_state 1 \
  --imagefile 1.png --colormap Greens

wordcloud_cli \
  --text tmp/debug.txt --random_state 1 \
  --imagefile 2.png --colormap hot

wordcloud_cli \
  --text tmp/debug.txt --random_state 1 \
  --imagefile 3.png --colormap binary

Expected Results

Expected to see different colors.

Actual Results

All calls use the same default colormap.

1

Versions

Linux-5.4.0-86-generic-x86_64-with-glibc2.29
Python 3.8.10 (default, Jun 2 2021, 10:49:15)
[GCC 9.4.0]
NumPy 1.21.2
matplotlib 3.4.3
wordcoud 1.8.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions