[BUG]: Access blocked to OpenStreetMaps raster tiles when saving the graph as .html file
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, python
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Python
- Estrellas
- 18.9k
- Forks
- 2.9k
- Merge medio
- 1 d 22 h
- PR fusionados (30 d)
- 12
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de plotly/plotly.py
-
[BUG]: Duplicate `FigureWidget` import code in `graph_objects` and `graph_objs`Posiblemente ocupada @DawnofGenX la tomó hace 6 días. Abiertobug P3 size: 1
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 2 días
-
to_typed_array_spec encodes bdata in host byte order; plotly.js always decodes it as little-endianPosiblemente ocupada @Vikram12301 la tomó hace 11 días. Abiertobug P3 size: 1
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
plotly/plotly.py#5837 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
[BUG]: NaT inside a datetime64 array serializes as the string "NaT" instead of nullPosiblemente ocupada @senanurcetin la tomó hace 13 días. Abiertobug P3 size: 1
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
plotly/plotly.py#5829 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
-
[BUG]: Integer and string properties reject NumPy scalarsPosiblemente ocupada @RaphaelFakhri la tomó hace 14 días. Abiertobug P3 size: 1
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
plotly/plotly.py#5827 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
[BUG]: Single-color requests raise ZeroDivisionError in palette helpersPosiblemente ocupada @MokiMeow la tomó hace 23 días. Abiertobug P3 size: 1
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
plotly/plotly.py#5805 · 1 comentario ·
Los mantenedores suelen responder en 2 días
Todos los issues de plotly/plotly.py
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
elviskahoro/sdk-python-attio#144 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
RenyiELBO raises TypeError when model has no sample sitesPosiblemente ocupada @alibb007 la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día