Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
SageMath
SageMath Developers
tracmirror
Compare Revisions
develop...0354a41f5504017a2aedf0ad27ee12a27f4a1702
Commits (1)
Fix deprecation warning for viewing crystals with graphviz.
· 0354a41f
Travis Scrimshaw
authored
Apr 23, 2021
0354a41f
Hide whitespace changes
Inline
Side-by-side
src/sage/categories/loop_crystals.py
View file @
0354a41f
...
...
@@ -119,8 +119,11 @@ class LoopCrystals(Category_singleton):
"""
G
=
Crystals
().
parent_class
.
digraph
(
self
,
subset
,
index_set
)
if
have_dot2tex
():
f
=
lambda
u_v_label
:
({
"backward"
:
u_v_label
[
2
]
==
0
})
G
.
set_latex_options
(
edge_options
=
f
)
def
eopt
(
u_v_label
):
if
u_v_label
[
2
]
==
0
:
return
{
"dir"
:
"back"
}
return
{}
G
.
set_latex_options
(
edge_options
=
eopt
)
return
G
# TODO: Should we make "regular" an axiom?
...
...