`MonteCarloPlots` box plots use `vert=`, deprecated in Matplotlib 3.11
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
調査の方向性
Start with rocketpy/plots/monte_carlo_plots.py at the two Axes.boxplot calls around lines 419 and 471, then read the TODO from issue #829 and check the supported Matplotlib versions in requirements.txt. The issue identifies the compatibility choice: use orientation only where supported, or raise the Matplotlib floor. Done means both calls avoid the Matplotlib 3.11 deprecation warning while remaining compatible with the declared dependency range.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
MonteCarloPlots passes vert=False to Axes.boxplot in two places (L419 and L471 on develop). With Matplotlib 3.11.2 each call warns:
MatplotlibDeprecationWarning: vert: bool was deprecated in Matplotlib 3.11 and will be removed in 3.13. Use orientation: {'vertical', 'horizontal'} instead.
If 3.13 removes it as announced, these plots will fail.
To Reproduce
Any Monte Carlo box plot with Matplotlib 3.11. I saw it running test_new_run_plots_only_physical_results on Python 3.14 with -W error::DeprecationWarning.
Expected behavior
No deprecation warning, and a call that keeps working after 3.13.
Additional context
#829 kept vert on purpose, with a TODO to switch to orientation="horizontal" once Python 3.9 support ended, and requires-python is now >=3.10. The constraint left is Matplotlib's: orientation arrived in 3.10, while requirements.txt still allows 3.9.0, where boxplot(orientation=...) raises TypeError (checked with 3.9.4). So the switch needs either a check on the Matplotlib version, as pandas did in its plotting tests (pandas-dev/pandas#60584), or a floor of 3.10.
- 主要言語
- Python
- スター
- 1.1k
- フォーク
- 280
- 平均マージ
- 3日 2時間
- マージ済み PR(30日)
- 24
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RocketPy-Team/RocketPy のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
RocketPy-Team/RocketPy#1255 ·
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
RocketPy-Team/RocketPy#1241 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
RocketPy-Team/RocketPy#1202 ·
メンテナーはふだん 3 日以内に返信
-
Monte Carlo test fixtures write their logs into the working directory対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
RocketPy-Team/RocketPy#1189 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
RocketPy-Team/RocketPy#1171 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
RocketPy-Team/RocketPy の issue をすべて見る
似ている issue
-
docs(contributing): the two things that silently block a PR対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンavailable documentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 95/100
Nixitov/Riptide-Native#944 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
JTHCode/secretguard#24 ·
メンテナーはふだん 1 日以内に返信
-
area: middleware documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
omarelshamy25x/shamy-hijri#63 ·
メンテナーはふだん 1 日以内に返信