Article Outline
Python matplotlib example 'import file'
Modules used in program:
import matplotlib
import numpy.random as rd
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
python import file
Python matplotlib example: import file
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import numpy.random as rd
#pd.set_option('display.mpl_style', 'default') # Make the graphs a bit prettier
import matplotlib
#matplotlib.pyplot.style.use('ggplot')
matplotlib.pyplot.style.use('fivethirtyeight')
plt.rcParams['figure.figsize'] = (15, 5)
plt.rcParams['font.family'] = 'sans-serif'
Python links
- Learn Python: https://pythonbasics.org/
- Python Tutorial: https://pythonprogramminglanguage.com