Created
March 14, 2020 05:58
-
-
Save databyjp/a3d62eef2a486a2a1dbde8705622b6dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fig['data'][0]['marker']['symbol'] = 'triangle-left' | |
fig.update_layout( | |
title_text="NBA Teams' degrees of separation:" | |
+ "<BR>Starting with the " + seed_tm + " on " + seed_date | |
+ ", all teams are connected within " + str(date_range.days) + " days.", | |
geo=dict( | |
scope='north america', | |
projection_type='azimuthal equal area', | |
showland=True, | |
fitbounds="locations", | |
landcolor='rgb(243, 243, 243)', | |
countrycolor='rgb(204, 204, 204)', | |
), | |
) | |
fig.update_layout(title={'font': {'size': 15}}, font={'size': 9, 'family': 'Arial, Tahoma, Helvetica'}) | |
fig.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment