matplotlib / matplotlib/basemap
Celestial meridian labels incorrect for eck4 projection
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 817
- フォーク
- 395
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I am testing the following eck4 meridian labeling example:
```
def label_bug(celestial=True, lon_0=65):
m = Basemap(projection='eck4', lon_0=lon_0, resolution=None, celestial=celestial)
m.drawmeridians([lon_0, lon_0 + 60], labels=[0,0,1,0], labelstyle='+/-')
m.drawmapboundary()
```
With normal coordinates, the labels appear where I expect them:
```
label_bug(celestial=False)
```

When celestial is True, the meridians are correctly flipped, but the labels no longer match their positions:
```
label_bug(celestial=True)
```

If anyone knows a workaround until this is fixed, please let me know. Thanks!
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
提供された label_bug の再現例と Basemap.drawmeridians から始め、eck4 投影について celestial=False と celestial=True を比較します。子午線の位置とラベルがどのように変換されるかを追跡し、その後、例を使って、どちらの場合もラベルが表示された子午線と一致することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100