Created
March 24, 2018 05:30
-
-
Save wjladams/9a4eaa9c845bf5831e88c56ddede1829 to your computer and use it in GitHub Desktop.
matplotlib scatter with size
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
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