plotly / plotly/plotly.js

Table headers containing spaces are unstable

Open
#6,549 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug P3
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
28

Description

When I create table with headers, like

header: {
values: [["Averaging"], ["Bulk"], ["Young"], ["Shear"], ["Poisson"]],
}

I find out that its impossible to have spaces in header, like "Averaging Method" - header with space is not shown.
Tried   and it moves text unpredictably.

Its nowhere near production ready, could you please fix such simple and important feature, thanks.

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 by reproducing the issue with the table header configuration using header.values and a label such as "Averaging Method". Trace how table headers are laid out and rendered, then verify that headers containing spaces display consistently without relying on  .

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
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.