[BUG] Client side error in plotly when trying to draw a heatmap with height set and just a few values.
維護者通常 1 天內回覆
@T4rk1n 已經在處理了。
開始於 2025年7月3日。
評估
這個 Issue 還沒有評估資料。
描述
I'm using dash 3.1.1 installed from python3.13.5 virtual env from ubuntu24.0.4.2LTS.
When I run this minimal example:
import dash
from dash import dcc, html
import plotly.express as px
import pandas as pd
df = pd.DataFrame({"x": ["Out Of Bounds Read or Write"] * 15, "y": [9.8] * 15})
fig = px.density_heatmap(df, x="x", y="y")
app = dash.Dash(__name__)
app.layout = html.Div(
[
dcc.Graph(
figure=fig,
style={"height": 100},
)
]
)
if __name__ == "__main__":
app.run(debug=True)
The web page stays blank instead of displaying the chart, and I can see the following error message on dev tools from my browser:
Uncaught (in promise) Error: Something went wrong with axis scaling
setScale plotly.min.js:20
lmt plotly.min.js:21
omt plotly.min.js:21
each plotly.min.js:15
bt plotly.min.js:15
each plotly.min.js:15
omt plotly.min.js:21
drawMarginPushers plotly.min.js:21
b plotly.min.js:21
syncOrAsync plotly.min.js:20
nht plotly.min.js:21
lht plotly.min.js:21
_ht plotly.min.js:21
plot React
plotly.min.js:20:174757
On the top of this plotly.min.js I have:
/**
* plotly.js v3.0.1
* Copyright 2012-2025, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
*/
When I comment the line style={"height": 100}, everything is working well.
- 主要語言
- Python
- 星號
- 24.5k
- 分支
- 2.3k
- 平均合併
- 3 天 7 小時
- 30 天內合併 PR
- 30
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
plotly/dash 的其他 Issue
-
P2 plotly-internal size: 1 task
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
Extract graph schema validation into properly named test可能已有人在做 @Nice6042 於 90 天前認領。 未關閉good first issue P3 size: 1 task
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
[BUG] Patch.update mutates a shared mapping and rewrites earlier merges可能已有人在做 @peterolkhov 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 35/100
維護者通常 1 天內回覆
-
[BUG] dcc.Dropdown: virtualized list keeps the height measured at opening when options grow while the menu is open可能已有人在做 @KoolADE85 於 2 天前認領。 未關閉bug P3 size: 1
plotly/dash#4131 · 1 則留言 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
[BUG] `set_props` streaming可能已有人在做 @BSd3v 於 5 天前認領。 未關閉bug P3 size: 1
難度 4/5 3-5 天 新手友好度 35/100
維護者通常 1 天內回覆
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 83/100
維護者通常 1 天內回覆
-
comp/desktop P3 type/feature
難度 2/5 1-3 小時 新手友好度 78/100
NousResearch/hermes-agent#154285 ·
維護者通常 1 天內回覆
-
docs: qualify copied and custom kubectl debug policy notes可能已有人在做 @nym01 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
kubescape/cel-admission-library#166 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
SACGF/variantgrid#2804 · 1 則留言 ·
維護者通常 1 天內回覆
-
[BUG] HTTP lifecycle dispatch treats a NO_PROXY-only environment as corporate egress and skips the resolve-and-pinned session可能已有人在做 @bodapatisaikrishna 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆