Deutsch English Français Italiano |
<slrnt31qb5.6iog.lulu042@valentino.Rock-n-Roll.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!HsW+/T1reeQoOQRDYMZQrw.user.46.165.242.75.POSTED!not-for-mail From: Lulu <lulu042@fry.fr.invalid> Newsgroups: fr.comp.lang.python Subject: Warning matplotlib Date: Tue, 15 Mar 2022 20:30:45 +0100 Organization: koitess? Message-ID: <slrnt31qb5.6iog.lulu042@valentino.Rock-n-Roll.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: gioia.aioe.org; logging-data="48647"; posting-host="HsW+/T1reeQoOQRDYMZQrw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: slrn/1.0.3 (Linux) X-Notice: Filtered by postfilter v. 0.9.2 Bytes: 1749 Lines: 17 (Re-)Bonjour, Il semble que je n'utilise pas correctement la fonction 'stem' de matplotlib. A l'exécution ce Warning apparaît : 8<-----------8<---------8<----------8<----------8<----------8<----------8< analyse_spectrale_original.py:52: MatplotlibDeprecationWarning: Passing the linefmt parameter positionally is deprecated since Matplotlib 3.5; the parameter will become keyword-only two minor releases later. markers,stemlines,base = stem([0, 1, 2, 3], [0.4, 1.0, 0.5, 0.2], 'r') 8<-----------8<---------8<----------8<----------8<----------8<----------8< La ligne 52 de mon script : markers,stemlines,base = stem([0, 1, 2, 3], [0.4, 1.0, 0.5, 0.2], 'r') J'ai googlisé ce warning et malgré la consultation de divers messages sur python-forum.io ou stackoverflow.com, je ne comprends même pas la signification de ce message (si ce n'est que bientôt ce warning se transformera en erreur), ni les solutions proposées. Merci de toute aide