Skip to content

Commit 85b96bd

Browse files
committed
Tweak arrow demo size.
The old version renders a bit small in the web docs.
1 parent 078790e commit 85b96bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/text_labels_and_annotations/arrow_demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ def make_arrow_graph(ax, data, size=4, display='length', shape='right',
4242
`.FancyArrow` properties, e.g. *linewidth* or *edgecolor*.
4343
"""
4444

45-
ax.set(xlim=(-0.5, 1.5), ylim=(-0.5, 1.5), xticks=[], yticks=[])
45+
ax.set(xlim=(-0.25, 1.25), ylim=(-0.25, 1.25), xticks=[], yticks=[])
4646
ax.text(.01, .01, f'flux encoded as arrow {display}',
4747
transform=ax.transAxes)
4848
max_text_size = size * 12
4949
min_text_size = size
50-
label_text_size = size * 2.5
50+
label_text_size = size * 4
5151

5252
bases = 'ATGC'
5353
coords = {

0 commit comments

Comments
 (0)