[BUG]: Access blocked to OpenStreetMaps raster tiles when saving the graph as .html file
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, python
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 18.9k
- Fork
- 2.9k
- Merge medio
- 1g 22h
- PR unite (30g)
- 12
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di plotly/plotly.py
-
[BUG]: Duplicate `FigureWidget` import code in `graph_objects` and `graph_objs`Forse già presa @DawnofGenX l’ha presa 7 giorni fa. Apertabug P3 size: 1
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 2 giorni
-
to_typed_array_spec encodes bdata in host byte order; plotly.js always decodes it as little-endianForse già presa @Vikram12301 l’ha presa 12 giorni fa. Apertabug P3 size: 1
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
plotly/plotly.py#5837 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
[BUG]: NaT inside a datetime64 array serializes as the string "NaT" instead of nullForse già presa @senanurcetin l’ha presa 14 giorni fa. Apertabug P3 size: 1
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
plotly/plotly.py#5829 · 3 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
[BUG]: Integer and string properties reject NumPy scalarsForse già presa @RaphaelFakhri l’ha presa 15 giorni fa. Apertabug P3 size: 1
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
plotly/plotly.py#5827 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
[BUG]: Single-color requests raise ZeroDivisionError in palette helpersForse già presa @MokiMeow l’ha presa 24 giorni fa. Apertabug P3 size: 1
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
plotly/plotly.py#5805 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di plotly/plotly.py
Issue simili
-
Paraxial.trace returns NaN for an object at infinity when the entrance pupil is at the first surfaceAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement ios launcher
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Substrait consumer doesn't recognise `shift_left` / `shift_right` from functions_arithmetic.yamlApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
apache/datafusion#27059 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
loteran/Arctis-Sound-Manager#368 ·
I maintainer di solito rispondono entro 1 giorno
-
feed submission
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
MobilityData/mobility-database-catalogs#1787 ·
I maintainer di solito rispondono entro 2 giorni