<s> __author__ = '<STR_LIT>' <EOL> from matplotlib . testing . decorators import image_comparison <EOL> import matplotlib . pyplot as plt <EOL> import numpy as np <EOL> import prettyplotlib as ppl <EOL> import os <EOL> @ image_comparison ( baseline_images = [ '<STR_LIT>' ] , extensions = [ '<STR_LIT>' ] ) <EOL> def test_boxplot ( ) : <EOL> np . random . seed ( <NUM_LIT:10> ) <EOL> data = np . random . randn ( <NUM_LIT:8> , <NUM_LIT:4> ) <EOL> labels = [ '<STR_LIT:A>' , '<STR_LIT:B>' , '<STR_LIT:C>' , '<STR_LIT:D>' ] <EOL> fig , ax = plt . subplots ( ) <EOL> ppl . boxplot ( ax , data , xticklabels = labels ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> import nose <EOL> nose . runmodule ( argv = [ '<STR_LIT>' , '<STR_LIT>' ] ) </s>
