Skip to content

Commit

Permalink
Clip loudspeaker numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Mar 12, 2019
1 parent 33562d3 commit eec07ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sfs/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def loudspeaker_2d(x0, n0, a0=0.5, size=0.08, show_numbers=False, grid=None,
for idx, (x00, n00) in enumerate(util.broadcast_zip(x0, n0)):
x, y = x00[:2] - 1.2 * size * n00[:2]
ax.text(x, y, idx + 1, horizontalalignment='center',
verticalalignment='center')
verticalalignment='center', clip_on=True)


def _visible_secondarysources_2d(x0, n0, grid):
Expand Down

0 comments on commit eec07ed

Please sign in to comment.