Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

provide parameter to set lat/long ranges of current view with tile maps

オープン
#4,753 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

Issue で指定されているレイアウトマップのパラメータ—map.center、map.zoom、そしてリンクされた layout.map.bounds の参照—から始め、それらを geo.fitbounds と比較します。レスポンシブな figure や変化する figure に対して、現在のビューの緯度/経度範囲と trace データへの自動フィッティングがどのように動作すべきかを定義します。要求された動作が仕様化され、一貫してサポートされれば完了です。

索引モデルが issue の本文から書いたものです。

説明

feature P3

Hello Plotly Team!

I have a feature request for the tile-maps.
As a worked on Figure Friday week 35 with the people map dataset, I noticed that it is currently quite hard to set the lat/lon ranges to have a nice view of the map, specially if we want a responsive app or if the data changes.

Currently, if I didn't miss the right parameters , we can use the layout params map_center + map_zoom, like:

map={
    'center': {'lat': 40, 'lon': -115}, 
    'zoom': 3,
},

Is it possible to have a parameter similar to:
https://plotly.com/python/reference/layout/#layout-map-bounds
to set the lat/lon ranges of the current view, not the min/max?

And maybe it would be also nice to have a parameter similar to
https://plotly.com/python/reference/layout/geo/#layout-geo-fitbounds
used for the geo maps (outline maps), to auto set the ranges to fit the traces data of the figure.

主要言語
Python
スター
18.8k
フォーク
2.8k
平均マージ
13時間 41分
マージ済み PR(30日)
21

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

plotly/plotly.py のほかの issue

plotly/plotly.py の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。