• Hello Blog - My First Python Post

    View Post Source Code on GitHub

    D.MunslowDMunslow
    
    ## Authors Note: this documnet was converted from a Jupyter Notebook to markdown, using nbconvert
    
    # this is a test page for the blog
    import numpy as np
    import matplotlib.pyplot as plt
    
    # create array of numbers and years
    numbers = [180, 215, 232, 225, 200, 276, 300, 369]
    year = [2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008]
    
    # create plot
    plt.plot(year, numbers)
    
    # display the plot
    plt.show()
    

    png

    comments powered by HyperComments