@@ -999,25 +999,25 @@ ax.text(0.5, 0.185, r"(Each trial is independent)",
999999# Arrow pointing to decreasing probabilities
10001000x0, y0, x1, y1 = seq_boxes["S"]
10011001ax.annotate("Most likely:\nsucceed early",
1002- xy=((x0 + x1)/2, y0 - 0.02 ), xycoords=ax.transAxes,
1003- xytext=(0.08 , 0.76 ), textcoords=ax.transAxes,
1002+ xy=((x0 + x1)/2, y1 ), xycoords=ax.transAxes,
1003+ xytext=(0.05 , 0.72 ), textcoords=ax.transAxes,
10041004 arrowprops=dict(arrowstyle="->",
1005- connectionstyle="arc3,rad=-0.2 ",
1005+ connectionstyle="arc3,rad=-0.25 ",
10061006 lw=2.5, color="green",
10071007 shrinkA=6, shrinkB=8),
1008- fontsize=20 , color="green", weight="bold",
1008+ fontsize=18 , color="green", weight="bold",
10091009 ha="center", va="center", zorder=5)
10101010
10111011# Arrow pointing to later trials
10121012x0, y0, x1, y1 = seq_boxes["FFFFS"]
10131013ax.annotate("Less likely:\nmany failures",
1014- xy=((x0 + x1)/2, y0 - 0.02 ), xycoords=ax.transAxes,
1015- xytext=(0.92 , 0.76 ), textcoords=ax.transAxes,
1014+ xy=((x0 + x1)/2, y1 ), xycoords=ax.transAxes,
1015+ xytext=(0.95 , 0.72 ), textcoords=ax.transAxes,
10161016 arrowprops=dict(arrowstyle="->",
1017- connectionstyle="arc3,rad=0.2 ",
1017+ connectionstyle="arc3,rad=0.25 ",
10181018 lw=2.5, color="red",
10191019 shrinkA=6, shrinkB=8),
1020- fontsize=20 , color="red", weight="bold",
1020+ fontsize=18 , color="red", weight="bold",
10211021 ha="center", va="center", zorder=5)
10221022
10231023# Bottom explanation
0 commit comments