From owner-freebsd-ports-bugs@freebsd.org Thu Dec 31 03:31:54 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B7CA44DAB6F for ; Thu, 31 Dec 2020 03:31:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4D5txQ3Q03z3Qmv for ; Thu, 31 Dec 2020 03:31:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 72F9E4DA96C; Thu, 31 Dec 2020 03:31:54 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 717C44DAB6E for ; Thu, 31 Dec 2020 03:31:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D5txQ1RHZz3Qds for ; Thu, 31 Dec 2020 03:31:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 24AEC16AA for ; Thu, 31 Dec 2020 03:31:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BV3VsZK034553 for ; Thu, 31 Dec 2020 03:31:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0BV3VskU034552 for ports-bugs@FreeBSD.org; Thu, 31 Dec 2020 03:31:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 252297] Issue with using py37-networkx and py37-matplotlib Date: Thu, 31 Dec 2020 03:31:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jeremy@coyotetrackz.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2020 03:31:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252297 Bug ID: 252297 Summary: Issue with using py37-networkx and py37-matplotlib Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jeremy@coyotetrackz.com I've been have an issue with python3 scripts using the networkx and matplot= lib libraries. An example python3 script is as follows: #! /usr/bin/env python3 import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import networkx as nx if __name__ =3D=3D '__main__': vertices =3D range(1, 10) edges =3D [(7,2), (2,3), (7,4), (4,5), (7,3), (1,6), (1,7), (2,8), = (2,9)] G =3D nx.Graph() G.add_nodes_from(vertices) G.add_edges_from(edges) nx.draw(G) plt.savefig("node.png") When the script get's to: nx.draw(G), the following error message is displa= yed: Traceback (most recent call last): File "./05_imaging.py", line 17, in nx.draw(G) File "/usr/local/lib/python3.7/site-packages/networkx/drawing/nx_pylab.py= ", line 126, in draw draw_networkx(G, pos=3Dpos, ax=3Dax, **kwds) File "/usr/local/lib/python3.7/site-packages/networkx/drawing/nx_pylab.py= ", line 278, in draw_networkx edge_collection =3D draw_networkx_edges(G, pos, arrows=3Darrows, **kwds) File "/usr/local/lib/python3.7/site-packages/networkx/drawing/nx_pylab.py= ", line 563, in draw_networkx_edges if not cb.iterable(width): AttributeError: module 'matplotlib.cbook' has no attribute 'iterable' >From looking into the issue, it seems that this is an issue of 'matplotli.cbook' being deprecated since version 3.0 of matplotlib ... but = it is still being referenced in the current version of py37-networkx. --=20 You are receiving this mail because: You are the assignee for the bug.=