MaartenGr / MaartenGr/BERTopic

Change number of Rows and Columns and colors when plot Barchart figure

Open
#1,528 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.