Skip to content

Commit

Permalink
Merge pull request #285 from guillaume-vignal/master
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-vignal authored Jan 14, 2022
2 parents 77a9f0c + 46f815e commit fe56024
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shapash/explainer/consistency.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,15 +396,15 @@ def draw_arrow(self, ax, a, b, dst):
Distance between the methods
"""
ax.annotate(
s="",
"",
xy=a - 0.05 * (a - b),
xycoords="data",
xytext=b + 0.05 * (a - b),
textcoords="data",
arrowprops=dict(arrowstyle="<->"),
)
ax.annotate(
s="%.2f" % dst,
"%.2f" % dst,
xy=(0.5 * (a[0] + b[0]), 0.5 * (a[1] + b[1])),
xycoords="data",
textcoords="data",
Expand Down

0 comments on commit fe56024

Please sign in to comment.