[BUG]: Access blocked to OpenStreetMaps raster tiles when saving the graph as .html file
Les mainteneurs répondent en général sous 2 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 55/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- javascript, python
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- Python
- Étoiles
- 18.9k
- Forks
- 2.9k
- Merge moyen
- 1 j 22 h
- PR mergées (30 j)
- 12
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de plotly/plotly.py
-
[BUG]: Duplicate `FigureWidget` import code in `graph_objects` and `graph_objs`Peut-être pris @DawnofGenX l’a pris il y a 7 jours. Ouvertebug P3 size: 1
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 2 jours
-
to_typed_array_spec encodes bdata in host byte order; plotly.js always decodes it as little-endianPeut-être pris @Vikram12301 l’a pris il y a 12 jours. Ouvertebug P3 size: 1
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100
plotly/plotly.py#5837 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
[BUG]: NaT inside a datetime64 array serializes as the string "NaT" instead of nullPeut-être pris @senanurcetin l’a pris il y a 14 jours. Ouvertebug P3 size: 1
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
plotly/plotly.py#5829 · 3 commentaires ·
Les mainteneurs répondent en général sous 2 jours
-
[BUG]: Integer and string properties reject NumPy scalarsPeut-être pris @RaphaelFakhri l’a pris il y a 15 jours. Ouvertebug P3 size: 1
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
plotly/plotly.py#5827 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
[BUG]: Single-color requests raise ZeroDivisionError in palette helpersPeut-être pris @MokiMeow l’a pris il y a 24 jours. Ouvertebug P3 size: 1
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
plotly/plotly.py#5805 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
Toutes les issues de plotly/plotly.py
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
unionai-oss/pandera#2640 ·
Les mainteneurs répondent en général sous 2 jours
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
JdeRobot/RoboticsInfrastructure#843 ·
Les mainteneurs répondent en général sous 1 jour
-
automated endpoint-dead needs-curation
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
almanac-data/climate-almanac#122 ·
Les mainteneurs répondent en général sous 1 jour
-
area:harness enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
evarness-ai/iris-harness#420 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
suitenumerique/find#206 ·
Les mainteneurs répondent en général sous 2 jours