Skip to content

Commit

Permalink
Coming right along
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincrom committed Apr 13, 2021
1 parent a8abdc2 commit 52f069e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion baseball/generate_svg.py
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,8 @@ def get_batter_spacing_values(batter_list):
)

for batter in batter_list:
if len(str(batter.player_obj)) > 18 and batter_font_size == BATTER_FONT_SIZE_BIG:
if (len(str(batter.player_obj)) > 18 and
batter_font_size == BATTER_FONT_SIZE_BIG):
batter_font_size = BATTER_FONT_SIZE_MED_PLUS
batter_space_increment = BATTER_SPACE_MED_PLUS
stats_y_offset = BATTER_STATS_OFFSET_MED_PLUS
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup

setup(name='baseball',
version='9.4',
version='9.5',
description='Library to download, anaylyze, and visualize events in Major League Baseball games.',
url='https://github.com/benjamincrom/baseball',
author='Benjamin B. Crom',
Expand Down

0 comments on commit 52f069e

Please sign in to comment.