Scattermap hover functionality broken when mapbox bearing is set to 90 degrees
Đang mở
@camdecoster đang làm issue này rồi.
Từ ngày 1/8/2025.
bug
P2
regression
- Ngôn ngữ chính
- Python
- Star
- 18.8k
- Fork
- 2.8k
- Merge trung bình
- 16 giờ 26 phút
- Pull request đã merge (30 ngày)
- 21
Mô tả
Code example:
import plotly.graph_objects as go
import pandas as pd
import numpy as np
df = pd.DataFrame({
'lat': np.random.uniform(chicago_lat - lat_range, chicago_lat + lat_range, 50),
'lon': np.random.uniform(chicago_lon - lon_range, chicago_lon + lon_range, 50),
})
figure = go.Figure(
go.Scattermap(
lat=df['lat'],
lon=df['lon'],
mode='markers',
)
)
figure.update_layout(map_bearing=90)
figure.show()
When I move the mouse over different locations, I cannot see the hover information for the location I am hovering over. Instead, it is stuck on a location at the edge of the map. This does not happen when map_bearing is set to 80, 70, 45. The screen recording below demonstrates the issue.
https://github.com/user-attachments/assets/0d5299c3-83cf-430a-a856-8999dbf48ee6
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.
Đánh giá
Issue này chưa được đánh giá.