Skip to content
Snippets Groups Projects
Commit c99e38b5 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Tweak expansion toys plot labeling

parent 3ad1e3a4
No related branches found
No related tags found
No related merge requests found
......@@ -704,7 +704,9 @@ class SchematicVisitor(object):
verticalalignment="center",
horizontalalignment="center")
label = type(psource).__name__[0]
label = "$%s_{%s}$" % (
type(psource).__name__[0].lower().replace("l", "\\ell"),
psource.order)
if psource.text_kwargs is not None:
psource_text_kwargs_copy = psource.text_kwargs.copy()
......@@ -717,7 +719,7 @@ class SchematicVisitor(object):
# are present at the tail.
import matplotlib as mpl
font_size = mpl.rcParams['font.size']
shrinkB = 2/3 * font_size # noqa
shrinkB = 7/8 * font_size # noqa
arrowprops = dict(shrinkB=shrinkB, arrowstyle="<|-")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment