python-visualization / python-visualization/folium

Legend colorbar position and resizing

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

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

enhancement
主要言語
Python
スター
7.4k
フォーク
2.3k
平均マージ
17時間 22分
マージ済み PR(30日)
11

説明

I'm having trouble visualizing the colorbar that is located in the upper right corner, when a choropleth is used. I would like to know
if there is a way to specify both the location and the size of both the bar and the font.

What I'm searching is a feature that can be added to the folium.Choropleth() attribute such as
legend_position=[0.8 ,0.9]
legend_fontsize=14
legend_width=10

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

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

はじめの一歩

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

調査の方向性

folium.Choropleth() のエントリポイントから始め、右上の凡例がどのようにレンダリングされるかを調べます。凡例の位置、バーのサイズ、フォントサイズを設定可能にし、Choropleth の凡例が他のマップ出力に影響を与えずにそれらの設定を使用できることを確認します。

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

評価

技術スタック
python
領域
data-visualization
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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