Created
June 19, 2018 13:32
-
-
Save thechaudharysab/140dfc234f6067d7cb7cdf75aa912bb7 to your computer and use it in GitHub Desktop.
Line Graph in Matplotlib with style
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 random | |
import matplotlib.pyplot as plt | |
%matplotlib inline | |
# Create some random data | |
r = [random.randrange(10) for n in range(10)] | |
s = [random.randrange(10) for n in range(10)] | |
plt.plot(r, 'm*') | |
plt.plot(s, 'g--') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment