Skip to content

Commit 7f7088d

Browse files
author
Release Manager
committed
Trac #34529: remove deprecated method spring_layout_fast_split from src/sage/graphs/generic_graph_pyx.pyx
Method `spring_layout_fast_split` from `src/sage/graphs/generic_graph_pyx.pyx` has been deprecated in #29522 (milestone [https://trac.sagemath.org/milestone/sage-9.1 sage-9.1]). We now remove it. URL: https://trac.sagemath.org/34529 Reported by: dcoudert Ticket author(s): David Coudert Reviewer(s): David Ayotte
2 parents 12890b6 + a338ac0 commit 7f7088d

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

src/sage/graphs/generic_graph_pyx.pyx

-24
Original file line numberDiff line numberDiff line change
@@ -120,30 +120,6 @@ def layout_split(layout_function, G, **options):
120120
return pos
121121

122122

123-
def spring_layout_fast_split(G, **options):
124-
"""
125-
Graph each component of ``G`` separately, placing them adjacent to each
126-
other.
127-
128-
In ticket :trac:`29522` the function was modified so that it can
129-
work with any layout method and renamed ``layout_split``.
130-
Please use :func:`layout_split` from now on.
131-
132-
TESTS::
133-
134-
sage: from sage.graphs.generic_graph_pyx import spring_layout_fast_split
135-
sage: G = Graph(4)
136-
sage: _ = spring_layout_fast_split(G)
137-
doctest:...: DeprecationWarning: spring_layout_fast_split is deprecated, please use layout_split instead
138-
See https://trac.sagemath.org/29522 for details.
139-
140-
"""
141-
from sage.misc.superseded import deprecation
142-
deprecation(29522, ('spring_layout_fast_split is deprecated, please use '
143-
'layout_split instead'), stacklevel=3)
144-
return layout_split(spring_layout_fast, G, **options)
145-
146-
147123
def spring_layout_fast(G, iterations=50, int dim=2, vpos=None, bint rescale=True,
148124
bint height=False, by_component=False, **options):
149125
"""

0 commit comments

Comments
 (0)