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