Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created August 18, 2020 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/7094bf5880b685b386aa97d0e94401bb to your computer and use it in GitHub Desktop.
Save amankharwal/7094bf5880b685b386aa97d0e94401bb to your computer and use it in GitHub Desktop.
i_normal = India / India.max()
b_normal = Brazil / Brazil.max()
years = list(range(1980, 2014))
import matplotlib.pyplot as plt
plt.figure(figsize=(14, 8))
plt.scatter(years, India, color='blue')
plt.scatter(years, Brazil, color='orange')
plt.xlabel("Years", size=14)
plt.ylabel("Number of immigrants", size=14)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment