MaartenGr / MaartenGr/BERTopic

Allow option to show heatmap annotation

Open
#2,458 2 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

Feature request

Feature Request:
Add text_auto=True to BERTopic heatmap visualizations to automatically annotate cells with their values, similar to px.imshow. This improves readability without manual annotation.
Example: topic_model.visualize_heatmap(text_auto=True)

Motivation
  • Improves readability of heatmaps without extra user effort.
Your contribution

.

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 BERTopic visualize_heatmap entry point and compare its behavior with px.imshow, as described in the request. Confirm how text_auto=True should be accepted and rendered, then verify that calling topic_model.visualize_heatmap(text_auto=True) displays cell values without manual annotation.

Written by the indexing model from the issue text.

Assessment

Tech stack
plotly, python
Domain
data-visualization
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.