<s> import matplotlib . pyplot as plt <EOL> import pandas . util . testing as t <EOL> import pandas . stats . moments as m <EOL> t . N = <NUM_LIT:200> <EOL> s = t . makeTimeSeries ( ) . cumsum ( ) <EOL> plt . figure ( figsize = ( <NUM_LIT:10> , <NUM_LIT:5> ) ) <EOL> plt . plot ( s . index , s . values ) <EOL> plt . plot ( s . index , m . ewma ( s , <NUM_LIT:20> , min_periods = <NUM_LIT:1> ) . values ) <EOL> f = plt . gcf ( ) <EOL> f . autofmt_xdate ( ) <EOL> plt . show ( ) <EOL> plt . close ( '<STR_LIT:all>' ) </s>
