From 9511cd76d1e03a7806768526a198b0e05c37268e Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Sun, 16 Apr 2017 21:21:20 -0400 Subject: [PATCH] STY: fix whitespace in svg_tooltip.py example --- examples/user_interfaces/svg_tooltip.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/user_interfaces/svg_tooltip.py b/examples/user_interfaces/svg_tooltip.py index 41584fcf1e9a..33556022513a 100644 --- a/examples/user_interfaces/svg_tooltip.py +++ b/examples/user_interfaces/svg_tooltip.py @@ -39,10 +39,12 @@ for i, (item, label) in enumerate(zip(shapes, labels)): patch = ax.add_patch(item) - annotate = ax.annotate(labels[i], xy=item.get_xy(), xytext=(0, 0), - textcoords='offset points', color='w', ha='center', - fontsize=8, bbox=dict(boxstyle='round, pad=.5', fc=(.1, .1, .1, .92), - ec=(1., 1., 1.), lw=1, zorder=1)) + annotate = ax.annotate(labels[i], xy=item.get_xy(), xytext=(0, 0), + textcoords='offset points', color='w', ha='center', + fontsize=8, bbox=dict(boxstyle='round, pad=.5', + fc=(.1, .1, .1, .92), + ec=(1., 1., 1.), lw=1, + zorder=1)) ax.add_patch(patch) patch.set_gid('mypatch_{:03d}'.format(i))