Skip to content

Instantly share code, notes, and snippets.

@wjladams
Created March 24, 2018 05:30
Show Gist options
  • Save wjladams/9a4eaa9c845bf5831e88c56ddede1829 to your computer and use it in GitHub Desktop.
Save wjladams/9a4eaa9c845bf5831e88c56ddede1829 to your computer and use it in GitHub Desktop.
matplotlib scatter with size
import matplotlib.pyplot as plt
%matplotlib inline
plt.rcParams["figure.figsize"] = (12,7)
xs = [1,2,3]
ys = [2, 3, 8]
plt.scatter(xs, ys)
# or
plt.plot(xs, ys)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment