Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Scattermap hover functionality broken when mapbox bearing is set to 90 degrees

Đang mở
#5,288 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

@camdecoster đang làm issue này rồi.

Từ ngày 1/8/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug P2 regression

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

Ngôn ngữ chính
Python
Star
18.8k
Fork
2.8k
Merge trung bình
13 giờ 41 phút
Pull request đã merge (30 ngày)
21

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của plotly/plotly.py

Tất cả issue của plotly/plotly.py

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.