Skip to content

Commit

Permalink
small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Destaq committed May 2, 2020
1 parent 7c4db31 commit fd6b5a3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def find_colors(ids, ratios, lst):
return rgb_codes, full_ratios


def main(database, depth=5, fragmentation_percentage=0.0032, should_defragment=False, custom_branching=False): # need file path, depth,
def graph(database, depth=5, fragmentation_percentage=0.0032, should_defragment=False, custom_branching=False): # need file path, depth,

database = open(database)

Expand All @@ -240,9 +240,6 @@ def main(database, depth=5, fragmentation_percentage=0.0032, should_defragment=F

fig.show()


main('pgns/mir_khan.pgn')

# download interactive HTML
# fig.write_html("fig1.html")

Expand Down

0 comments on commit fd6b5a3

Please sign in to comment.