[BUG]: Access blocked to OpenStreetMaps raster tiles when saving the graph as .html file
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, python
Hướng nghiên cứu
Start by comparing the generated output from write_html() with the behavior of show() and write_image() for the supplied Scattermap example using open-street-map. The issue does not name relevant source files or tests, so first trace how HTML export handles raster map tiles. Done means the saved HTML displays tiles without the OpenStreetMap access-blocked error.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
When the scatter map is generated with the style set to open-street-map and then saved as an .html file the tiles are replaced with the error image with the text "403 Access blocked. App is not following the tile usage policy of OpenStreetMap's volunteer-run servers: osm.wiki/Blocked".
This happens when the write_html() method is called, but not when the write_image() method is called or the show() method is called in a Jupyter notebook.
This is different from the https://github.com/plotly/plotly.py/issues/5562 since that issue only concerns write_image() method.
Screenshots/Video
Steps to reproduce
import plotly.graph_objects as go
lat = 41.580472
lon = -1.1161953
fig = go.Figure(go.Scattermap(
lat=[lat],
lon=[lon],
mode='markers',
marker=dict(symbol="circle", size=30)
))
fig.update_layout(
map=dict(
style="open-street-map",
center=dict(lat=lat, lon=lon),
zoom=16
),
margin={"r": 0, "t": 0, "l": 0, "b": 0}
)
# returns correct raster tiles
fig.write_image('1.png')
# returns error tiles
fig.write_html('1.html')
Notes
plotly version: 7.1.0
- Ngôn ngữ chính
- Python
- Star
- 18.9k
- Fork
- 2.9k
- Merge trung bình
- 1 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 12
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/plotly.py
-
[BUG]: Duplicate `FigureWidget` import code in `graph_objects` and `graph_objs`Có thể đã có người làm @DawnofGenX đã nhận 8 ngày trước. Đang mởbug P3 size: 1
Độ 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 2 ngày
-
to_typed_array_spec encodes bdata in host byte order; plotly.js always decodes it as little-endianCó thể đã có người làm @Vikram12301 đã nhận 13 ngày trước. Đang mởbug P3 size: 1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
plotly/plotly.py#5837 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[BUG]: NaT inside a datetime64 array serializes as the string "NaT" instead of nullCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug P3 size: 1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
plotly/plotly.py#5829 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[BUG]: Integer and string properties reject NumPy scalarsCó thể đã có người làm @RaphaelFakhri đã nhận 17 ngày trước. Đang mởbug P3 size: 1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
plotly/plotly.py#5827 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[BUG]: Single-color requests raise ZeroDivisionError in palette helpersCó thể đã có người làm @MokiMeow đã nhận 26 ngày trước. Đang mởbug P3 size: 1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
plotly/plotly.py#5805 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của plotly/plotly.py
Issue tương tự
-
curriculum documentation quality
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
githubnext/gh-aw-workshop#5367 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Create Noise Latents ignores randomize_seed and produces the same noise every runCó thể đã có người làm @griptapeops đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
griptape-ai/griptape-nodes-library-diffusers#127 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Jenkins capacity report: metrics history is lost when archiving a month failsCó thể đã có người làm @RaphaelFakhri đã 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
adoptium/infrastructure#4568 ·
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 72/100
huggingface/deep-rl-class#723 ·
-
premises-missing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
WingedGuardian/GENesis-AGI#3928 ·
Maintainer thường phản hồi trong vòng 1 ngày