`MonteCarloPlots` box plots use `vert=`, deprecated in Matplotlib 3.11
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 1.1k
- Fork
- 280
- Merge medio
- 3g 2h
- PR unite (30g)
- 24
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di RocketPy-Team/RocketPy
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
RocketPy-Team/RocketPy#1255 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
RocketPy-Team/RocketPy#1241 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
RocketPy-Team/RocketPy#1202 ·
I maintainer di solito rispondono entro 3 giorni
-
Monte Carlo test fixtures write their logs into the working directoryForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
RocketPy-Team/RocketPy#1189 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
RocketPy-Team/RocketPy#1171 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di RocketPy-Team/RocketPy
Issue simili
-
docs(contributing): the two things that silently block a PRForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaavailable documentation good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 95/100
Nixitov/Riptide-Native#944 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
JTHCode/secretguard#24 ·
I maintainer di solito rispondono entro 1 giorno
-
area: middleware documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
omarelshamy25x/shamy-hijri#63 ·
I maintainer di solito rispondono entro 1 giorno