Created
February 2, 2019 12:30
-
-
Save davideanastasia/225fcf4450553abb398c628563ec2e94 to your computer and use it in GitHub Desktop.
This file contains 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
plt.figure(figsize=(25,25)) | |
for taxi_id, taxi_marker in zip(taxis, ['v', 'x', '+']): # , '.', ',', 'o', '+']): | |
taxi_df = read_taxi_data_from_file('release/taxi_log_2008_by_id/{taxi_id}.txt'.format(taxi_id=taxi_id)) | |
plt.scatter(taxi_df['longitude'].values.flatten(), | |
taxi_df['latitude'].values.flatten(), marker=taxi_marker, alpha=0.5) | |
plt.xlim(116.1, 116.8) | |
plt.ylim(39.75, 40.10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment