Scattermap hover functionality broken when mapbox bearing is set to 90 degrees
オープン
@camdecoster がすでに取り組んでいます。
2025年8月1日 から。
bug
P2
regression
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。