MaartenGr / MaartenGr/BERTopic
Change number of Rows and Columns and colors when plot Barchart figure
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.8k
- Forks
- 920
- Avg merge
- 22h 24m
- Merged PRs (30d)
- 5
Description
@MaartenGr
Hello,
How can I change the number of columns when plot Barchart figure to be less than 4 or more
I used this code
y_model.visualize_barchart(n_words=10,custom_labels=True,topics=[0,1,2,3,4,5],width=320,height=250,title="")
but nothing change
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the visualize_barchart entry point and reproduce the supplied call with topics [0,1,2,3,4,5], width=320, and height=250. Trace how the number of columns and colors are determined; done means the requested layout and color changes are reflected in the rendered Barchart figure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100