Add patch to adapt an example to matplotlib 3.6.0.
This commit is contained in:
parent
d0dba0c8b8
commit
06ae3b17fd
9
python-networkx-matplotlib.patch
Normal file
9
python-networkx-matplotlib.patch
Normal file
@ -0,0 +1,9 @@
|
||||
--- examples/drawing/plot_directed.py.orig 2022-08-22 07:33:18.000000000 -0600
|
||||
+++ examples/drawing/plot_directed.py 2022-08-31 11:24:11.204178840 -0600
|
||||
@@ -42,5 +42,6 @@ pc.set_array(edge_colors)
|
||||
|
||||
ax = plt.gca()
|
||||
ax.set_axis_off()
|
||||
+pc.axes = ax
|
||||
plt.colorbar(pc)
|
||||
plt.show()
|
||||
@ -1,6 +1,6 @@
|
||||
Name: python-networkx
|
||||
Version: 2.8.6
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Creates and Manipulates Graphs and Networks
|
||||
License: BSD-3-Clause
|
||||
URL: https://networkx.org/
|
||||
@ -17,6 +17,8 @@ Patch0: %{name}-doc.patch
|
||||
# Temporary workaround for a failing test.
|
||||
# See https://github.com/networkx/networkx/issues/5913
|
||||
Patch1: %{name}-test.patch
|
||||
# Adapt an example to matplotlib 3.6.0
|
||||
Patch2: %{name}-matplotlib.patch
|
||||
|
||||
# There is a bootstrap loop between libpysal and networkx when tests/docs are enabled
|
||||
%bcond_with bootstrap
|
||||
@ -92,7 +94,7 @@ study of the structure, dynamics, and functions of complex networks.
|
||||
License: BSD-3-Clause AND MIT
|
||||
Summary: Documentation for networkx
|
||||
Requires: fontawesome5-fonts-all
|
||||
Provides: bundled(jquery)
|
||||
Provides: bundled(js-jquery)
|
||||
Provides: bundled(js-underscore)
|
||||
|
||||
%description doc
|
||||
@ -159,6 +161,9 @@ done
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Aug 31 2022 Jerry James <loganjerry@gmail.com> - 2.8.6-2
|
||||
- Add patch to adapt an example to matplotlib 3.6.0
|
||||
|
||||
* Mon Aug 22 2022 Jerry James <loganjerry@gmail.com> - 2.8.6-1
|
||||
- Version 2.8.6
|
||||
- Convert License tag to SPDX
|
||||
|
||||
Loading…
Reference in New Issue
Block a user