Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1203465

Bug#1075906: graphlan: fails tests with matplotlib 3.8

From Drew Parsons <dparsons@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1075906: graphlan: fails tests with matplotlib 3.8
Date 2024-07-07 19:20 +0200
Message-ID <IXDIl-vkJ-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Source: graphlan
Version: 1.1.3-5
Severity: normal

graphlan fails tests with matplotlib 3.8 from experimental

https://ci.debian.net/packages/g/graphlan/unstable/arm64/48726737/

121s autopkgtest [06:36:33]: test run-unit-test: [-----------------------
121s Running test script ./simple/run.sh .
124s Traceback (most recent call last):
124s   File "/usr/bin/graphlan", line 73, in <module>
124s     ctree.draw(args['outimg'],
124s   File "/usr/share/graphlan/src/graphlan_lib.py", line 1110, in draw
124s     plt.figlegend(ll, sorted(self._ext_key), 'upper left', frameon=False,
124s   File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 1143, in figlegend
124s     return gcf().legend(*args, **kwargs)
124s            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
124s   File "/usr/lib/python3/dist-packages/matplotlib/figure.py", line 1146, in legend
124s     handles, labels, kwargs = mlegend._parse_legend_args(self.axes, *args, **kwargs)
124s                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
124s   File "/usr/lib/python3/dist-packages/matplotlib/legend.py", line 1382, in _parse_legend_args
124s     raise _api.nargs_error('legend', '0-2', len(args))
124s TypeError: legend() takes 0-2 positional arguments but 3 were given
124s autopkgtest [06:36:36]: test run-unit-test: -----------------------]


Looks like graphlan now needs to provide one of those arguments by
keyname.

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1075906: graphlan: fails tests with matplotlib 3.8 Drew Parsons <dparsons@debian.org> - 2024-07-07 19:20 +0200

csiph-web