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

Missing x axis labels for multiple line plot

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

@sadielbartholomew がすでに取り組んでいます。

2025年4月15日 から。

評価

この issue はまだ評価されていません。

説明

bug

For a multiple line plot created in the standard means via calling cfp.lineplot more than once wrapped inside the gopen and gclose calls, where the lines to be plotted have ranges that don't overlap, the only x axis labels shown are the ones for the data from the final call.

We should make it default behaviour that the overall lineplot axis covers the full extent of all input data, without the user having to manually specify this (if that's even possible via cfplot configuration - I am yet to have time to investigate).

MRE

Adapted from a user report (from SG). To reproduce you need data files that contain the same variable with non-overlapping ranges of data, a common example being sequential time windows as here.

MRE code
cfp.gopen()

for file in files:
    c1 = cf.read(file)
    d1 = c1.select('ncvar%zostoga')[0]
    cfp.lineplot(d1)

cfp.gclose()
Output lineplot

Note the lack of x axis labelling for all but the final file variable data input:

Image

主要言語
Python
スター
21
フォーク
11
平均マージ
7時間 11分
マージ済み PR(30日)
1

環境構築

はじめの一歩

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

NCAS-CMS/cf-plot のほかの issue

NCAS-CMS/cf-plot の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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