[BUG] Client side error in plotly when trying to draw a heatmap with height set and just a few values.
Maintainer thường phản hồi trong vòng 1 ngày
@T4rk1n đang làm issue này rồi.
Từ ngày 3/7/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 24.5k
- Fork
- 2.3k
- Merge trung bình
- 3 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 30
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của plotly/dash
-
P2 plotly-internal size: 1 task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Extract graph schema validation into properly named testCó thể đã có người làm @Nice6042 đã nhận 90 ngày trước. Đang mởgood first issue P3 size: 1 task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
plotly/dash#3735 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] Patch.update mutates a shared mapping and rewrites earlier mergesCó thể đã có người làm @peterolkhov đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] dcc.Dropdown: virtualized list keeps the height measured at opening when options grow while the menu is openCó thể đã có người làm @KoolADE85 đã nhận 2 ngày trước. Đang mởbug P3 size: 1
plotly/dash#4131 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] `set_props` streamingCó thể đã có người làm @BSd3v đã nhận 5 ngày trước. Đang mởbug P3 size: 1
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
plotly/dash#4127 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
comp/desktop P3 type/feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NousResearch/hermes-agent#154285 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs: qualify copied and custom kubectl debug policy notesCó thể đã có người làm @nym01 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
kubescape/cel-admission-library#166 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
SACGF/variantgrid#2804 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] HTTP lifecycle dispatch treats a NO_PROXY-only environment as corporate egress and skips the resolve-and-pinned sessionCó thể đã có người làm @bodapatisaikrishna đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày