plotly / plotly/plotly.py

Long length word in table cell not visible

未关闭
#3,582 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug P3
主要语言
Python
星标
18.8k
派生
2.8k
平均合并
16 小时 26 分钟
30 天内合并 PR
21

描述

If any cell of table contains large length value string, then that value is hidden and by not any means we can see that value.

import plotly.graph_objects as go
fig = go.Figure(data=[go.Table(......)])

Problem related to this issue already answered in Stackoverflow. But solution not seems to be perfect, it is workaround.

if you have to split a long word, you can of course use a html line break instead of space to get this.

So multiple solutions that I think, but none of this is working.

  1. If we can hover over cell, but it is not possible and is current issue. #5523
  2. If we can use auto column width feature to adjust column width but still it is not supported.
  3. If we can wrap the cell by some means (except changing its value by inserting separator like
    or space).

Regards,
Piyush

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,使用包含长且不间断值的单元格,通过所示的 go.Figure 和 go.Table 示例重现该问题。查看相关的 Plotly.js issue #5523,并比较报告中关于 hover、自动列宽和换行的可能性。完成的标准是:无需更改该值来插入分隔符即可查看完整的单元格值。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
data-visualization
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。