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
""" | |
Simple demo with multiple subplots. | |
""" | |
import numpy as np | |
import matplotlib.pyplot as plt | |
x1 = np.linspace(0.0, 5.0) | |
x2 = np.linspace(0.0, 2.0) |
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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Wed Jun 21 18:01:05 2017 | |
@author: saliksyed | |
""" | |
import matplotlib.pyplot as plt; plt.rcdefaults() | |
import numpy as np |
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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Wed Jun 21 18:01:05 2017 | |
@author: saliksyed | |
""" | |
import matplotlib.pyplot as plt; plt.rcdefaults() | |
import numpy as np |
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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Wed Jun 21 18:01:05 2017 | |
@author: saliksyed | |
""" | |
import matplotlib.pyplot as plt; plt.rcdefaults() | |
import numpy as np |
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 | |
import numpy as np | |
import matplotlib.pyplot as plt | |
# Let's read in the countries for each airport: | |
data = open("airports.dat", "r").readlines() | |
final_data = [] |
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
""" | |
========================================================= | |
Demo of the histogram (hist) function with a few features | |
========================================================= | |
In addition to the basic histogram, this demo shows a few optional | |
features: | |
* Setting the number of data bins | |
* The ``normed`` flag, which normalizes bin heights so that the |
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
# Python Starter Quiz | |
# Try your best to answer these questions. It’s just an assessment so I can get | |
# a feel for the level of Python skills in the class. No stress and no grade for this :) | |
# Question 1 : | |
# Print out “Coding is awesome :)” | |
# Question 2: |
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
# Python Starter Quiz | |
# Try your best to answer these questions. It’s just an assessment so I can get | |
# a feel for the level of Python skills in the class. No stress and no grade for this :) | |
# Question 1 : | |
# Print out “Coding is awesome :)” | |
print "Coding is awesome :)" | |
# Question 2: |
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
# Python Starter Quiz | |
# Try your best to answer these questions. It’s just an assessment so I can get | |
# a feel for the level of Python skills in the class. No stress and no grade for this :) | |
# Question 1 : | |
# Print out "Coding is awesome :)" | |
# Question 2: | |
# Print the first 50 even numbers greater than 900 |
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
my_dictionary = { | |
"A": 8, | |
"B": 2, | |
"C": 99, | |
"D": 1, | |
"E": 99, | |
"F": None | |
} |
OlderNewer