Spaces:
Running
Running
Update batter_scatter.py
Browse files- batter_scatter.py +3 -2
batter_scatter.py
CHANGED
@@ -358,8 +358,9 @@ def server(input,output,session):
|
|
358 |
# ha='center', va='center', rotation=45)
|
359 |
|
360 |
print(ts)
|
361 |
-
|
362 |
-
|
|
|
363 |
|
364 |
#ax.legend(fontsize='16')
|
365 |
fig.text(x=0.03,y=0.02,s='By: @TJStats',fontname='Century Gothic')
|
|
|
358 |
# ha='center', va='center', rotation=45)
|
359 |
|
360 |
print(ts)
|
361 |
+
if len(ts) > 0:
|
362 |
+
adjust_text(ts,
|
363 |
+
arrowprops=dict(arrowstyle="-", color=colour_palette[4], lw=1),ax=ax)
|
364 |
|
365 |
#ax.legend(fontsize='16')
|
366 |
fig.text(x=0.03,y=0.02,s='By: @TJStats',fontname='Century Gothic')
|