Skip to content
Snippets Groups Projects
ex2_3_3.py 281 B
Newer Older
  • Learn to ignore specific revisions
  • # Exercise 2.3.3
    # (requires data from exercise 2.3.1)
    
    bjje's avatar
    bjje committed
    import matplotlib.pyplot as plt
    
    bjje's avatar
    bjje committed
    
    
    bjje's avatar
    bjje committed
    plt.figure()
    plt.boxplot(X)
    plt.xticks(range(1, 5), attributeNames)
    plt.ylabel("cm")
    plt.title("Fisher's Iris data set - boxplot")
    plt.show()
    
    bjje's avatar
    bjje committed