Module ImportFrom alias Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias Import alias identifier Import alias identifier Import alias identifier Expr Call AttributeLoad NameLoad attr Str keyword Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num If BoolOpAnd CompareLt NameLoad Num CompareGt NameLoad Num body Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpMult Num NameLoad Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index BinOpBitAnd CompareGtE NameLoad NameLoad CompareLtE NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameLoad Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad If CompareLt NameLoad Num body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad orelse While CompareGtE NameLoad NameLoad body AugAssignSub NameStore Num Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore NameLoad Assign NameStore TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore BinOpDiv Num Num Assign TupleStore NameStore NameStore NameLoad If CompareGtE NameLoad NameLoad body Assign TupleStore NameStore NameStore TupleLoad BinOpMult NameLoad Num BinOpMult Num BinOpDiv NameLoad NameLoad orelse Assign TupleStore NameStore NameStore TupleLoad BinOpMult BinOpMult NameLoad Num BinOpDiv NameLoad NameLoad Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str TupleLoad Num Num Str NameLoad Str NameLoad Num body Expr Str If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Assign AttributeStore NameLoad attr Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad TupleLoad BinOpAdd NameLoad Num Assign NameStore BinOpAdd BinOpAdd Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad Num keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword BinOpMod Str BinOpAdd NameLoad Num keyword Num keyword SubscriptLoad NameLoad Index NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr keyword Num keyword Dict Str Num keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpDiv Call NameLoad BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad Num If CompareLtE NameLoad Num body Assign NameStore Num orelse If CompareLtE NameLoad Num body Assign NameStore Num orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num If CompareIs NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad Call AttributeLoad NameLoad attr Num Num UnaryOpUSub NameLoad Slice Num Call AttributeLoad NameLoad attr Num Num NameLoad If CompareIs NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad Call AttributeLoad NameLoad attr Num Num UnaryOpUSub NameLoad Slice Num Call AttributeLoad NameLoad attr Num Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword ListLoad Num Num Num Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr NameLoad keyword ListLoad Num Num Num Num keyword Num keyword Num Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Num BinOpAdd Call NameLoad NameLoad Num AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad NameLoad body If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIn AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Assign NameStore BinOpMult BinOpAdd NameLoad Num SubscriptLoad NameLoad Index AttributeLoad NameLoad attr orelse Assign NameStore BinOpMult BinOpAdd NameLoad Num Call AttributeLoad NameLoad attr TupleLoad Num Num Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword Num Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword BinOpMod Str BinOpAdd Str Call NameLoad BinOpAdd NameLoad Num keyword Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str TupleLoad Num Num Str Str Str NameLoad NameLoad Str NameLoad body Expr Str If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign NameStore Call NameLoad NameLoad Num keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad keyword Str keyword NameLoad keyword Str keyword Str keyword Num keyword Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign TupleStore NameStore NameStore TupleLoad Num Num For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore BinOpSub NameLoad BinOpMult BinOpSub NameLoad NameLoad Num Assign NameStore BinOpAdd NameLoad BinOpMult BinOpSub NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Num keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str keyword Num keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num For NameStore NameLoad body For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str Str Str body Expr Str Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str keyword Num keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad BinOpSub NameLoad BinOpDiv BinOpMult BinOpSub NameLoad NameLoad Num Num Num Assign NameStore BinOpAdd NameLoad BinOpMult BinOpSub NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str TupleLoad Num Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad keyword Str keyword Str keyword BinOpSub NameLoad Num keyword BinOpAdd NameLoad Num keyword BinOpSub NameLoad Num keyword BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign AttributeStore NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num BinOpAdd NameLoad Num BinOpAdd NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str TupleLoad Num Num Str Str NameLoad NameLoad NameLoad Num NameLoad NameLoad Str BinOpDiv Num Num body Expr Str If BoolOpOr CompareEq AttributeLoad NameLoad attr Num BoolOpAnd CompareEq AttributeLoad NameLoad attr Num CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore ListLoad Num Num Num Num Assign NameStore ListLoad Num Num Num Num orelse Assign NameStore ListLoad Num Num Num Num Assign NameStore ListLoad Num Num Num Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Assign AttributeStore NameLoad attr Num Assign NameStore Call NameLoad NameLoad Num keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad keyword Str keyword Str keyword Str keyword Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Str If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num CompareEq AttributeLoad NameLoad attr Num body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpDiv Call NameLoad BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad Num If CompareLtE NameLoad Num body Assign NameStore Num orelse If CompareLtE NameLoad Num body Assign NameStore Num orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num If CompareIs NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad Call AttributeLoad NameLoad attr Num Num UnaryOpUSub NameLoad Slice Num Call AttributeLoad NameLoad attr Num Num NameLoad If CompareIs NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad Call AttributeLoad NameLoad attr Num Num UnaryOpUSub NameLoad Slice Num Call AttributeLoad NameLoad attr Num Num NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword AttributeLoad NameLoad attr Assign NameStore Num For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword BinOpAdd NameLoad Num keyword Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str TupleLoad Num Num Str Str Str Str NameLoad NameLoad NameLoad Num Str NameLoad body Expr Str If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num If BoolOpOr CompareNotEq Call NameLoad NameLoad NameLoad CompareNotEq Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign NameStore Call NameLoad NameLoad Num keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Str keyword Str keyword Str keyword Num keyword Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Num SubscriptLoad NameLoad Index NameLoad keyword Str keyword Str keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Num keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad Num Str body Expr Str ImportFrom alias Import alias identifier Import alias identifier Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad BinOpDiv Call AttributeLoad NameLoad attr Num Num ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr BinOpMult NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword TupleLoad Num BinOpDiv AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr attr Str Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr attr Str Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr attr Str Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr attr Str Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr keyword NameLoad Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr attr Str Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num AttributeLoad NameLoad attr Str keyword Str keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num BinOpDiv AttributeLoad NameLoad attr Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str keyword Str Assign AttributeStore NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Expr Str Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num kwarg body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num BinOpDiv AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpSub BinOpAdd BinOpPow AttributeLoad NameLoad attr Num BinOpPow NameLoad Num BinOpMult BinOpMult BinOpMult Num AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str keyword Num decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign NameStore Call NameLoad NameLoad Assign NameStore Num Assign NameStore Num For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword SubscriptLoad NameLoad Index NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr ListLoad BinOpSub NameLoad BinOpMult BinOpSub NameLoad NameLoad Num BinOpAdd NameLoad BinOpMult BinOpSub NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword AttributeLoad NameLoad attr decorator_list
N/A tempfile TemporaryFile N/A matplotlib mpl N/A matplotlib.pyplot plt mpl_toolkits.basemap Basemap mpl_toolkits.axes_grid1 ImageGrid N/A scipy.stats.mstats mstats N/A numpy np N/A numpy.ma ma N/A N/A N/A mpl rc image cmap coolwarm set_cmap N/A N/A name N/A N/A N/A 
    Sets the default colormap (eg when setting cmap=None in a function)
    See: http://matplotlib.org/examples/pylab_examples/show_colormaps.html
    for a list of possible colormaps.
    Appending '_r' to a matplotlib colormap name will give you a reversed
    version of it.

    :param name: The name of the colormap.
    :type name: :mod:`string`
     N/A cmap N/A N/A plt get_cmap name N/A N/A N/A mpl rc image cmap N/A cmap name N/A _nice_intervals N/A N/A data nlevs N/A N/A N/A 
    Purpose::
        Calculates nice intervals between each color level for colorbars
        and contour plots. The target minimum and maximum color levels are
        calculated by taking the minimum and maximum of the distribution
        after cutting off the tails to remove outliers.

    Input::
        data - an array of data to be plotted
        nlevs - an int giving the target number of intervals

    Output::
        clevs - A list of floats for the resultant colorbar levels
     N/A data N/A N/A data ravel N/A mn N/A N/A mstats scoreatpercentile data 5 N/A mx N/A N/A mstats scoreatpercentile data 95 N/A N/A N/A mn 0 N/A mx 0 N/A N/A level N/A max N/A abs mn N/A abs mx N/A mnlvl N/A -1 level N/A mxlvl level N/A N/A mnlvl mn N/A mxlvl mx N/A locator N/A N/A N/A mpl ticker MaxNLocator nlevs N/A clevs N/A N/A locator tick_values mnlvl mxlvl N/A clevs N/A clevs N/A N/A N/A clevs mnlvl N/A clevs mxlvl N/A clevs N/A _best_grid_shape N/A N/A nplots oldshape N/A N/A N/A 
    Purpose::
        Calculate a better grid shape in case the user enters more columns
        and rows than needed to fit a given number of subplots.

    Input::
        nplots - an int giving the number of plots that will be made
        oldshape - a tuple denoting the desired grid shape (nrows, ncols) for arranging
                    the subplots originally requested by the user.

    Output::
        newshape - the smallest possible subplot grid shape needed to fit nplots
     N/A N/A nrows ncols oldshape N/A size N/A nrows ncols N/A diff N/A size nplots N/A N/A diff 0 N/A N/A N/A ValueError N/A gridshape=(%d, %d): Cannot fit enough subplots for data N/A nrows ncols N/A N/A N/A diff ncols N/A N/A nrows 1 N/A size N/A nrows ncols N/A diff N/A size nplots N/A N/A nrows 1 N/A N/A ncols nplots N/A newshape N/A nrows ncols N/A newshape N/A _fig_size N/A N/A gridshape aspect N/A None N/A N/A 
    Purpose::
        Calculates the figure dimensions from a subplot gridshape

    Input::
        gridshape - Tuple denoting the subplot gridshape
        aspect - Float denoting approximate aspect ratio of each subplot
                 (width / height). Default is 8.5 / 5.5

    Output::
        width - float for width of the figure in inches
        height - float for height of the figure in inches
     N/A N/A aspect None N/A N/A aspect N/A 8.5 5.5 N/A N/A nrows ncols gridshape N/A N/A nrows ncols N/A N/A N/A width height N/A N/A aspect 5.5 N/A 5.5 N/A nrows ncols N/A N/A N/A width height N/A N/A N/A aspect 5.5 N/A ncols nrows 5.5 N/A N/A width height N/A draw_taylor_diagram N/A N/A results names refname fname fmt gridshape ptitle subtitles pos frameon radmax N/A png N/A 1 1 None upper right True 1.5 N/A N/A  Draw a Taylor diagram.

    :param results: An Nx2 array containing normalized standard deviations,
       correlation coefficients, and names of evaluation results.
    :type results: :class:`numpy.ndarray`

    :param names: A list of names for each evaluated dataset
    :type names: :class:`list` of :mod:`string`

    :param refname: The name of the reference dataset.
    :type refname: :mod:`string`

    :param fname: The filename of the plot.
    :type fname: :mod:`string`

    :param fmt: (Optional) filetype for the output plot.
    :type fmt: :mod:`string`

    :param gridshape: (Optional) Tuple denoting the desired grid shape
        (num_rows, num_cols) for arranging the subplots.
    :type gridshape: A :class:`tuple` of the form (num_rows, num_cols)

    :param ptitle: (Optional) plot title.
    :type ptitle: :mod:`string`
    
    :param subtitles: (Optional) list of strings specifying the title for each
        subplot.
    :type subtitles: :class:`list` of :mod:`string`

    :param pos: (Optional) string or tuple of floats used to set the position
        of the legend. Check the `Matplotlib docs <http://matplotlib.org/api/legend_api.html#matplotlib.legend.Legend>`_
        for additional information.
    :type pos: :mod:`string` or :func:`tuple` of :class:`float`

    :param frameon: (Optional) boolean specifying whether to draw a frame
        around the legend box.
    :type frameon: :class:`bool`

    :param radmax: (Optional) float to adjust the extent of the axes in terms of
        standard deviation.
    :type radmax: :class:`float`
     N/A N/A N/A results ndim 2 N/A N/A results N/A N/A results reshape 1 N/A results shape N/A nplots N/A N/A results shape N/A 0 N/A gridshape N/A _best_grid_shape nplots gridshape N/A fig N/A N/A plt figure N/A N/A N/A fig set_size_inches N/A 8.5 11 N/A N/A fig dpi 300 N/A N/A i data N/A enumerate results N/A N/A rect N/A gridshape N/A N/A i 1 N/A rect N/A N/A N/A str N/A rect N/A 0 N/A str N/A rect N/A 1 N/A str N/A rect N/A 2 N/A dia N/A TaylorDiagram 1 fig fig rect rect label refname radmax radmax N/A N/A i N/A stddev corrcoef N/A enumerate data N/A N/A N/A N/A dia add_sample stddev corrcoef marker N/A $%d$ N/A i 1 ms 6 label N/A names N/A i N/A N/A subtitles None N/A N/A N/A N/A N/A dia _ax set_title N/A subtitles N/A i N/A legend N/A N/A fig legend N/A dia samplePoints N/A N/A N/A p get_label N/A p N/A dia samplePoints handlelength 0.0 prop N/A size 10 numpoints 1 loc pos N/A N/A N/A legend draw_frame frameon N/A N/A N/A plt subplots_adjust wspace 0 N/A N/A N/A fig suptitle ptitle N/A N/A N/A plt tight_layout 0.05 0.05 N/A N/A N/A fig savefig N/A %s.%s N/A fname fmt bbox_inches tight dpi N/A fig dpi N/A N/A N/A fig clf N/A draw_subregions N/A N/A subregions lats lons fname fmt ptitle parallels meridians subregion_masks N/A png None None None N/A N/A  Draw subregion domain(s) on a map.

    :param subregions: The subregion objects to plot on the map.
    :type subregions: :class:`list` of subregion objects (Bounds objects)

    :param lats: Array of latitudes values.
    :type lats: :class:`numpy.ndarray`

    :param lons: Array of longitudes values.
    :type lons: :class:`numpy.ndarray`

    :param fname: The filename of the plot.
    :type fname: :mod:`string`

    :param fmt: (Optional) filetype for the output.
    :type fmt: :mod:`string`

    :param ptitle: (Optional) plot title.
    :type ptitle: :mod:`string`

    :param parallels: (Optional) :class:`list` of :class:`int` or :class:`float` for the parallels to
        be drawn. See the `Basemap documentation <http://matplotlib.org/basemap/users/graticule.html>`_
        for additional information.
    :type parallels: :class:`list` of :class:`int` or :class:`float`

    :param meridians: (Optional) :class:`list` of :class:`int` or :class:`float` for the meridians to
        be drawn. See the `Basemap documentation <http://matplotlib.org/basemap/users/graticule.html>`_
        for additional information.
    :type meridians: :class:`list` of :class:`int` or :class:`float`

    :param subregion_masks: (Optional) :class:`dict` of :class:`bool` arrays for each
        subregion for giving finer control of the domain to be drawn, by default
        the entire domain is drawn.
    :type subregion_masks: :class:`dict` of :class:`bool` arrays
     N/A fig N/A N/A plt figure N/A N/A N/A fig set_size_inches N/A 8.5 11.0 N/A N/A fig dpi 300 N/A ax N/A N/A fig add_subplot 111 N/A lonmin N/A N/A lons min N/A lonmax N/A N/A lons max N/A latmin N/A N/A lats min N/A latmax N/A N/A lats max N/A m N/A Basemap projection cyl llcrnrlat latmin urcrnrlat latmax llcrnrlon lonmin urcrnrlon lonmax resolution l ax ax N/A N/A N/A m drawcoastlines linewidth 1 N/A N/A N/A m drawcountries linewidth 0.75 N/A N/A N/A m drawstates N/A length N/A N/A max N/A latmax latmin N/A lonmax lonmin 5 N/A N/A length 1 N/A N/A dlatlon 1 N/A N/A N/A length 5 N/A N/A dlatlon 5 N/A N/A dlatlon N/A N/A np round length decimals -1 N/A N/A meridians None N/A N/A meridians N/A N/A np r_ N/A N/A N/A N/A N/A np arange 0 -180 N/A dlatlon N/A -1 N/A N/A np arange 0 180 dlatlon N/A N/A parallels None N/A N/A parallels N/A N/A np r_ N/A N/A N/A N/A N/A np arange 0 -90 N/A dlatlon N/A -1 N/A N/A np arange 0 90 dlatlon N/A N/A N/A m drawmeridians meridians labels N/A 0 0 0 1 linewidth 0.75 fontsize 10 N/A N/A N/A m drawparallels parallels labels N/A 1 0 0 1 linewidth 0.75 fontsize 10 N/A cmap N/A N/A plt cm rainbow N/A norm N/A N/A N/A mpl colors BoundaryNorm N/A N/A np arange 1 N/A N/A len subregions 3 N/A cmap N N/A N/A i reg N/A enumerate subregions N/A N/A N/A N/A subregion_masks None N/A N/A reg name N/A N/A subregion_masks keys N/A N/A domain N/A N/A i 1 N/A subregion_masks N/A N/A reg name N/A N/A domain N/A N/A i 1 N/A N/A np ones N/A 2 2 N/A N/A nlats nlons N/A domain shape N/A domain N/A N/A ma masked_equal domain 0 N/A reglats N/A N/A np linspace N/A reg lat_min N/A reg lat_max nlats N/A reglons N/A N/A np linspace N/A reg lon_min N/A reg lon_max nlons N/A N/A reglons reglats N/A N/A np meshgrid reglons reglats N/A N/A x y N/A m reglons reglats N/A N/A N/A m pcolormesh x y domain cmap cmap norm norm alpha 0.5 N/A N/A xm ym N/A N/A N/A x mean N/A N/A y mean N/A N/A N/A m plot xm ym marker N/A $%s$ N/A R N/A str N/A i 1 markersize 12 color k N/A N/A N/A ax set_title ptitle N/A N/A N/A fig savefig N/A %s.%s N/A fname fmt bbox_inches tight dpi N/A fig dpi N/A N/A N/A fig clf N/A draw_time_series N/A N/A results times labels fname fmt gridshape xlabel ylabel ptitle subtitles label_month yscale aspect N/A png N/A 1 1 None False linear None N/A N/A  Draw a time series plot.

    :param results: 3D array of time series data.
    :type results: :class:`numpy.ndarray`

    :param times: List of Python datetime objects used by Matplotlib to handle
        axis formatting.
    :type times: :class:`list` of :class:`datetime.datetime`

    :param labels: List of names for each data being plotted.
    :type labels: :class:`list` of :mod:`string`

    :param fname: Filename of the plot.
    :type fname: :mod:`string`

    :param fmt: (Optional) filetype for the output.
    :type fmt: :mod:`string`

    :param gridshape: (Optional) tuple denoting the desired grid shape
        (num_rows, num_cols) for arranging the subplots.
    :type gridshape: :func:`tuple` of the form (num_rows, num_cols)

    :param xlabel: (Optional) x-axis title.
    :type xlabel: :mod:`string`
    
    :param ylabel: (Optional) y-axis title.
    :type ylabel: :mod:`string`

    :param ptitle: (Optional) plot title.
    :type ptitle: :mod:`string`

    :param subtitles: (Optional) list of titles for each subplot.
    :type subtitles: :class:`list` of :mod:`string`
    
    :param label_month: (Optional) flag to toggle drawing month labels on the
        x-axis.
    :type label_month: :class:`bool`

    :param yscale: (Optional) y-axis scale value, 'linear' for linear and 'log'
        for log base 10.
    :type yscale: :mod:`string`
    
    :param aspect: (Optional) approximate aspect ratio of each subplot
        (width / height). Default is 8.5 / 5.5
    :type aspect: :class:`float`
     N/A N/A N/A results ndim 2 N/A N/A results N/A N/A results reshape 1 N/A results shape N/A nplots N/A N/A results shape N/A 0 N/A gridshape N/A _best_grid_shape nplots gridshape N/A N/A width height N/A _fig_size gridshape N/A fig N/A N/A plt figure N/A N/A N/A fig set_size_inches N/A width height N/A N/A fig dpi 300 N/A grid N/A ImageGrid fig 111 nrows_ncols gridshape axes_pad 0.3 share_all True add_all True ngrids nplots label_mode L aspect False cbar_mode single cbar_location bottom cbar_size 0.05 cbar_pad 0.2 N/A N/A i ax N/A enumerate grid N/A N/A data N/A results N/A i N/A label_month N/A N/A xfmt N/A N/A N/A mpl dates DateFormatter %b N/A xloc N/A N/A N/A mpl dates MonthLocator N/A N/A N/A N/A ax xaxis set_major_formatter xfmt N/A N/A N/A N/A ax xaxis set_major_locator xloc N/A N/A N/A ax set_yscale yscale N/A lines N/A N/A N/A ymin ymax N/A 0 0 N/A tSeries data N/A N/A line N/A N/A ax plot_date times tSeries N/A N/A N/A lines extend line N/A N/A cmin cmax N/A N/A N/A tSeries min N/A N/A tSeries max N/A ymin N/A min ymin cmin N/A ymax N/A max ymax cmax N/A ymin N/A ymin N/A N/A ymax ymin 0.1 N/A ymax N/A ymax N/A N/A ymax ymin 0.1 N/A N/A N/A ax set_ylim N/A ymin ymax N/A N/A subtitles None N/A N/A N/A N/A ax set_title N/A subtitles N/A i fontsize small N/A fax N/A N/A fig add_subplot 111 frameon False N/A N/A N/A fax tick_params labelcolor none top off bottom off left off right off N/A N/A N/A fax set_ylabel ylabel N/A N/A N/A fax set_title ptitle fontsize 16 N/A N/A N/A N/A fax title set_y 1.04 N/A cax N/A ax cax N/A N/A N/A cax set_frame_on False N/A N/A N/A cax set_xticks N/A N/A N/A N/A cax set_yticks N/A N/A N/A N/A cax legend lines labels loc upper center ncol 10 fontsize small mode expand frameon False N/A N/A N/A cax set_title xlabel fontsize 12 N/A N/A N/A N/A cax title set_y -1.5 N/A ax grid N/A N/A xtick N/A N/A ax get_xticklabels N/A N/A N/A N/A xtick set_ha right N/A N/A N/A xtick set_rotation 30 N/A N/A N/A fig savefig N/A %s.%s N/A fname fmt bbox_inches tight dpi N/A fig dpi N/A N/A N/A fig clf N/A draw_barchart N/A N/A results yvalues fname ptitle fmt xlabel ylabel N/A png N/A N/A  Draw a barchart.

    :param results: 1D array of  data.
    :type results: :class:`numpy.ndarray`

    :param yvalues: List of y-axis labels
    :type times: :class:`list` 

    :param fname: Filename of the plot.
    :type fname: :mod:`string`

    :param ptitle: (Optional) plot title.
    :type ptitle: :mod:`string`

    :param fmt: (Optional) filetype for the output.
    :type fmt: :mod:`string`

    :param xlabel: (Optional) x-axis title.
    :type xlabel: :mod:`string`
    
    :param ylabel: (Optional) y-axis title.
    :type ylabel: :mod:`string`

     N/A y_pos N/A list N/A range N/A len yvalues N/A fig N/A N/A plt figure N/A N/A N/A fig set_size_inches N/A 11.0 8.5 N/A N/A fig dpi 300 N/A ax N/A N/A plt subplot 111 N/A N/A N/A plt barh y_pos results align center height 0.8 linewidth 0 N/A N/A N/A plt yticks y_pos yvalues N/A N/A N/A plt tick_params axis both which both bottom on top off labelbottom on left off right off labelleft on N/A N/A N/A N/A N/A ax spines N/A top set_visible False N/A N/A N/A N/A N/A ax spines N/A right set_visible False N/A ymin N/A min y_pos N/A ymax N/A max y_pos N/A ymin N/A min N/A ymin N/A N/A N/A ymax ymin 0.1 2 0.5 N/A ymax N/A ymax N/A N/A ymax ymin 0.1 N/A N/A N/A ax set_ylim N/A ymin ymax N/A N/A N/A plt xlabel xlabel N/A N/A N/A plt tight_layout N/A N/A N/A fig savefig N/A %s.%s N/A fname fmt bbox_inches tight dpi N/A fig dpi N/A N/A N/A fig clf N/A draw_marker_on_map N/A N/A lat lon fname fmt location_name gridshape N/A png N/A 1 1 N/A N/A 
    Purpose::
        Draw a marker on a map

    Input::
        lat - latitude for plotting a marker
        lon - longitude for plotting a marker
        fname  - a string specifying the filename of the plot
     N/A fig N/A N/A plt figure N/A N/A fig dpi 300 N/A ax N/A N/A fig add_subplot 111 N/A m N/A Basemap projection cyl resolution c llcrnrlat N/A lat 30 urcrnrlat N/A lat 30 llcrnrlon N/A lon 60 urcrnrlon N/A lon 60 N/A N/A N/A m drawcoastlines linewidth 1 N/A N/A N/A m drawcountries linewidth 1 N/A N/A N/A m drawmapboundary fill_color aqua N/A N/A N/A m fillcontinents color coral lake_color aqua N/A N/A m ax ax N/A N/A xpt ypt N/A m lon lat N/A N/A N/A m plot xpt ypt bo N/A N/A N/A plt text N/A xpt 0.5 N/A ypt 1.5 N/A location_name N/A 
(lon: %5.1f, lat: %3.1f) N/A lon lat N/A N/A N/A fig savefig N/A %s.%s N/A fname fmt bbox_inches tight dpi N/A fig dpi N/A N/A N/A fig clf N/A draw_contour_map N/A N/A dataset lats lons fname fmt gridshape clabel ptitle subtitles cmap clevs nlevs parallels meridians extend aspect N/A png N/A 1 1 None None None 10 None None neither N/A 8.5 2.5 N/A N/A  Draw a multiple panel contour map plot.

    :param dataset: 3D array of data to be plotted with shape (nT, nLat, nLon).
    :type dataset: :class:`numpy.ndarray`

    :param lats: Array of latitudes values.
    :type lats: :class:`numpy.ndarray`

    :param lons: Array of longitudes
    :type lons: :class:`numpy.ndarray`

    :param fname: The filename of the plot.
    :type fname: :mod:`string`

    :param fmt: (Optional) filetype for the output.
    :type fmt: :mod:`string`

    :param gridshape: (Optional) tuple denoting the desired grid shape
        (num_rows, num_cols) for arranging the subplots.
    :type gridshape: :func:`tuple` of the form (num_rows, num_cols)

    :param clabel: (Optional) colorbar title.
    :type clabel: :mod:`string`

    :param ptitle: (Optional) plot title.
    :type ptitle: :mod:`string`

    :param subtitles: (Optional) list of titles for each subplot.
    :type subtitles: :class:`list` of :mod:`string`

    :param cmap: (Optional) string or :class:`matplotlib.colors.LinearSegmentedColormap`
        instance denoting the colormap. This must be able to be recognized by
        `Matplotlib's get_cmap function <http://matplotlib.org/api/cm_api.html#matplotlib.cm.get_cmap>`_.
    :type cmap: :mod:`string` or :class:`matplotlib.colors.LinearSegmentedColormap`

    :param clevs: (Optional) contour levels values.
    :type clevs: :class:`list` of :class:`int` or :class:`float`
    
    :param nlevs: (Optional) target number of contour levels if clevs is None.
    :type nlevs: :class:`int`

    :param parallels: (Optional) list of ints or floats for the parallels to
        be drawn. See the `Basemap documentation <http://matplotlib.org/basemap/users/graticule.html>`_
        for additional information.
    :type parallels: :class:`list` of :class:`int` or :class:`float`

    :param meridians: (Optional) list of ints or floats for the meridians to
        be drawn. See the `Basemap documentation <http://matplotlib.org/basemap/users/graticule.html>`_
        for additional information.
    :type meridians: :class:`list` of :class:`int` or :class:`float`

    :param extend: (Optional) flag to toggle whether to place arrows at the colorbar
         boundaries. Default is 'neither', but can also be 'min', 'max', or
         'both'. Will be automatically set to 'both' if clevs is None.
    :type extend: :mod:`string`
     N/A N/A N/A N/A dataset ndim 2 N/A N/A N/A dataset ndim 3 N/A N/A N/A dataset shape N/A 0 1 N/A N/A N/A N/A dataset ndim 2 N/A N/A dataset N/A N/A dataset reshape 1 N/A dataset shape N/A mlabels N/A 0 0 0 1 N/A plabels N/A 1 0 0 1 N/A N/A mlabels N/A 0 0 0 0 N/A plabels N/A 0 0 0 0 N/A nplots N/A N/A dataset shape N/A 0 N/A gridshape N/A _best_grid_shape nplots gridshape N/A fig N/A N/A plt figure N/A N/A N/A fig set_size_inches N/A 8.5 11.0 N/A N/A fig dpi 300 N/A grid N/A ImageGrid fig 111 nrows_ncols gridshape axes_pad 0.3 share_all True add_all True ngrids nplots label_mode L cbar_mode single cbar_location bottom cbar_size 0.15 cbar_pad 0% N/A lonmin N/A N/A lons min N/A lonmax N/A N/A lons max N/A latmin N/A N/A lats min N/A latmax N/A N/A lats max N/A m N/A Basemap projection cyl llcrnrlat latmin urcrnrlat latmax llcrnrlon lonmin urcrnrlon lonmax resolution l N/A N/A N/A N/A lats ndim 1 N/A N/A lons ndim 1 N/A N/A N/A lons lats N/A N/A np meshgrid lons lats N/A N/A clevs None N/A N/A clevs N/A _nice_intervals dataset nlevs N/A extend both N/A cmap N/A N/A plt get_cmap cmap N/A length N/A N/A max N/A latmax latmin N/A lonmax lonmin 5 N/A N/A length 1 N/A N/A dlatlon 1 N/A N/A N/A length 5 N/A N/A dlatlon 5 N/A N/A dlatlon N/A N/A np round length decimals -1 N/A N/A meridians None N/A N/A meridians N/A N/A np r_ N/A N/A N/A N/A N/A np arange 0 -180 N/A dlatlon N/A -1 N/A N/A np arange 0 180 dlatlon N/A N/A parallels None N/A N/A parallels N/A N/A np r_ N/A N/A N/A N/A N/A np arange 0 -90 N/A dlatlon N/A -1 N/A N/A np arange 0 90 dlatlon N/A N/A x y N/A m lons lats N/A N/A i ax N/A enumerate grid N/A N/A data N/A dataset N/A i N/A N/A m ax ax N/A N/A N/A m drawcoastlines linewidth 1 N/A N/A N/A m drawcountries linewidth 0.75 N/A N/A N/A m drawmeridians meridians labels mlabels linewidth 0.75 fontsize 10 N/A N/A N/A m drawparallels parallels labels plabels linewidth 0.75 fontsize 10 N/A cs N/A N/A m contourf x y data cmap cmap levels clevs extend extend N/A N/A subtitles None N/A N/A N/A N/A ax set_title N/A subtitles N/A i fontsize small N/A cbar N/A N/A fig colorbar cs cax N/A ax cax drawedges True orientation horizontal extendfrac auto N/A N/A N/A cbar set_label clabel N/A N/A N/A cbar set_ticks clevs N/A N/A N/A N/A cbar ax tick_params labelsize 6 N/A N/A N/A N/A N/A cbar ax xaxis set_ticks_position none N/A N/A N/A N/A N/A cbar ax yaxis set_ticks_position none N/A N/A N/A fig savefig N/A TemporaryFile bbox_inches tight dpi N/A fig dpi N/A ymax 0 N/A ax grid N/A N/A bbox N/A N/A ax get_position N/A ymax N/A max ymax N/A bbox ymax N/A N/A N/A fig suptitle ptitle y N/A ymax 0.06 fontsize 16 N/A N/A N/A fig savefig N/A %s.%s N/A fname fmt bbox_inches tight dpi N/A fig dpi N/A N/A N/A fig clf N/A draw_portrait_diagram N/A N/A results rowlabels collabels fname fmt gridshape xlabel ylabel clabel ptitle subtitles cmap clevs nlevs extend aspect N/A png N/A 1 1 None None None 10 neither None N/A N/A  Draw a portrait diagram plot.

    :param results: 3D array of the fields to be plotted. The second dimension
              should correspond to the number of rows in the diagram and the
              third should correspond to the number of columns.
    :type results: :class:`numpy.ndarray`

    :param rowlabels: Labels for each row.
    :type rowlabels: :class:`list` of :mod:`string`

    :param collabels: Labels for each row.
    :type collabels: :class:`list` of :mod:`string`

    :param fname: Filename of the plot.
    :type fname: :mod:`string`
    
    :param fmt: (Optional) filetype for the output.
    :type fmt: :mod:`string`

    :param gridshape: (Optional) tuple denoting the desired grid shape
        (num_rows, num_cols) for arranging the subplots.
    :type gridshape: :func:`tuple` of the form (num_rows, num_cols)

    :param xlabel: (Optional) x-axis title.
    :type xlabel: :mod:`string`

    :param ylabel: (Optional) y-ayis title.
    :type ylabel: :mod:`string`

    :param clabel: (Optional) colorbar title.
    :type clabel: :mod:`string`

    :param ptitle: (Optional) plot title.
    :type ptitle: :mod:`string`

    :param subtitles: (Optional) list of titles for each subplot.
    :type subtitles: :class:`list` of :mod:`string`

    :param cmap: (Optional) string or :class:`matplotlib.colors.LinearSegmentedColormap`
        instance denoting the colormap. This must be able to be recognized by
        `Matplotlib's get_cmap function <http://matplotlib.org/api/cm_api.html#matplotlib.cm.get_cmap>`_.
    :type cmap: :mod:`string` or :class:`matplotlib.colors.LinearSegmentedColormap`

    :param clevs: (Optional) contour levels values.
    :type clevs: :class:`list` of :class:`int` or :class:`float`

    :param nlevs: Optional target number of contour levels if clevs is None.
    :type nlevs: :class:`int`

    :param extend: (Optional) flag to toggle whether to place arrows at the colorbar
         boundaries. Default is 'neither', but can also be 'min', 'max', or
         'both'. Will be automatically set to 'both' if clevs is None.
    :type extend: :mod:`string`

    :param aspect: (Optional) approximate aspect ratio of each subplot
        (width / height). Default is 8.5 / 5.5
    :type aspect: :class:`float`
     N/A N/A N/A results ndim 2 N/A N/A results N/A N/A results reshape 1 N/A results shape N/A nplots N/A N/A results shape N/A 0 N/A gridshape N/A _best_grid_shape nplots gridshape N/A N/A prows pcols N/A N/A results shape N/A 1 N/A N/A N/A N/A len rowlabels prows N/A N/A len collabels pcols N/A N/A N/A ValueError N/A rowlabels and collabels must have %d and %d elements respectively N/A prows pcols N/A N/A width height N/A _fig_size gridshape N/A fig N/A N/A plt figure N/A N/A N/A fig set_size_inches N/A width height N/A N/A fig dpi 300 N/A grid N/A ImageGrid fig 111 nrows_ncols gridshape axes_pad 0.4 share_all True aspect False add_all True ngrids nplots label_mode all cbar_mode single cbar_location bottom cbar_size 0.15 cbar_pad 3% N/A N/A clevs None N/A N/A clevs N/A _nice_intervals results nlevs N/A extend both N/A cmap N/A N/A plt get_cmap cmap N/A norm N/A N/A N/A mpl colors BoundaryNorm clevs N/A cmap N N/A N/A i ax N/A enumerate grid N/A N/A data N/A results N/A i N/A cs N/A N/A ax matshow data cmap cmap aspect auto origin lower norm norm N/A N/A N/A N/A ax xaxis set_ticks N/A N/A np arange N/A N/A N/A data shape N/A 1 1 N/A N/A N/A N/A ax yaxis set_ticks N/A N/A np arange N/A N/A N/A data shape N/A 0 1 N/A x N/A N/A N/A N/A ax xaxis get_majorticklocs 0.5 N/A y N/A N/A N/A N/A ax yaxis get_majorticklocs 0.5 N/A N/A N/A ax vlines x N/A N/A y min N/A N/A y max N/A N/A N/A ax hlines y N/A N/A x min N/A N/A x max N/A N/A N/A N/A ax xaxis tick_bottom N/A N/A N/A N/A ax xaxis set_ticks_position none N/A N/A N/A N/A ax yaxis set_ticks_position none N/A N/A N/A ax set_xticklabels collabels fontsize xx-small N/A N/A N/A ax set_yticklabels rowlabels fontsize xx-small N/A N/A subtitles None N/A N/A N/A N/A ax text 0.5 1.04 N/A subtitles N/A i va center ha center transform N/A ax transAxes fontsize small N/A fax N/A N/A fig add_subplot 111 frameon False N/A N/A N/A fax tick_params labelcolor none top off bottom off left off right off N/A N/A N/A fax set_ylabel ylabel N/A N/A N/A fax set_title ptitle fontsize 16 N/A N/A N/A N/A fax title set_y 1.04 N/A cax N/A ax cax N/A cbar N/A N/A fig colorbar cs cax cax norm norm boundaries clevs drawedges True extend extend orientation horizontal extendfrac auto N/A N/A N/A cbar set_label clabel N/A N/A N/A cbar set_ticks clevs N/A N/A N/A N/A cbar ax tick_params labelsize 6 N/A N/A N/A N/A N/A cbar ax xaxis set_ticks_position none N/A N/A N/A N/A N/A cbar ax yaxis set_ticks_position none N/A N/A N/A cax set_title xlabel fontsize 12 N/A N/A N/A N/A cax title set_y 1.5 N/A N/A N/A fig savefig N/A %s.%s N/A fname fmt bbox_inches tight dpi N/A fig dpi N/A N/A N/A fig clf N/A TaylorDiagram N/A object N/A N/A  Taylor diagram helper class

    Plot model standard deviation and correlation to reference (data)
    sample in a single-quadrant polar plot, with r=stddev and
    theta=arccos(correlation).

    This class was released as public domain by the original author
    Yannick Copin. You can find the original Gist where it was
    released at: https://gist.github.com/ycopin/3342888
     __init__ N/A N/A self refstd radmax fig rect label N/A 1.5 None 111 _ N/A N/A Set up Taylor diagram axes, i.e. single quadrant polar
        plot, using mpl_toolkits.axisartist.floating_axes. refstd is
        the reference standard deviation to be compared to.
         matplotlib.projections PolarAxes N/A mpl_toolkits.axisartist.floating_axes FA N/A mpl_toolkits.axisartist.grid_finder GF N/A N/A self refstd refstd N/A tr N/A N/A PolarAxes PolarTransform N/A rlocs N/A N/A np concatenate N/A N/A N/A N/A np arange 10 10.0 N/A 0.95 0.99 N/A tlocs N/A N/A np arccos rlocs N/A gl1 N/A N/A GF FixedLocator tlocs N/A tf1 N/A N/A GF DictFormatter N/A dict N/A zip tlocs N/A map str rlocs N/A N/A self smin 0 N/A N/A self smax N/A radmax N/A self refstd N/A ghelper N/A N/A FA GridHelperCurveLinear tr extremes N/A 0 N/A N/A np pi 2 N/A self smin N/A self smax grid_locator1 gl1 tick_formatter1 tf1 N/A N/A fig None N/A N/A fig N/A N/A plt figure N/A ax N/A N/A FA FloatingSubplot fig rect grid_helper ghelper N/A N/A N/A fig add_subplot ax N/A N/A N/A N/A N/A ax axis N/A top set_axis_direction bottom N/A N/A N/A N/A N/A ax axis N/A top toggle ticklabels True label True N/A N/A N/A N/A N/A N/A ax axis N/A top major_ticklabels set_axis_direction top N/A N/A N/A N/A N/A N/A ax axis N/A top label set_axis_direction top N/A N/A N/A N/A N/A N/A ax axis N/A top label set_text Correlation N/A N/A N/A N/A N/A ax axis N/A left set_axis_direction bottom N/A N/A N/A N/A N/A N/A ax axis N/A left label set_text Standard deviation N/A N/A N/A N/A N/A ax axis N/A right set_axis_direction top N/A N/A N/A N/A N/A ax axis N/A right toggle ticklabels True N/A N/A N/A N/A N/A N/A ax axis N/A right major_ticklabels set_axis_direction left N/A N/A N/A N/A N/A ax axis N/A bottom set_visible False N/A N/A N/A ax grid False N/A N/A self _ax ax N/A N/A self ax N/A N/A ax get_aux_axes tr N/A N/A l N/A N/A N/A self ax plot N/A 0 N/A self refstd k* ls ms 10 label label N/A t N/A N/A np linspace 0 N/A N/A np pi 2 N/A r N/A N/A N/A np zeros_like t N/A self refstd N/A N/A N/A N/A self ax plot t r k-- label _ N/A N/A self samplePoints N/A l N/A add_sample N/A N/A self stddev corrcoef N/A args kwargs N/A N/A Add sample (stddev,corrcoeff) to the Taylor diagram. args
        and kwargs are directly propagated to the Figure.plot
        command. N/A N/A l N/A N/A N/A self ax plot N/A N/A np arccos corrcoef stddev args kwargs N/A N/A N/A N/A self samplePoints append l N/A l N/A add_rms_contours N/A N/A self levels N/A 5 kwargs N/A N/A Add constant centered RMS difference contours. N/A N/A rs ts N/A N/A np meshgrid N/A N/A np linspace N/A self smin N/A self smax N/A N/A np linspace 0 N/A N/A np pi 2 N/A rms N/A N/A np sqrt N/A N/A N/A N/A self refstd 2 N/A rs 2 N/A N/A N/A 2 N/A self refstd rs N/A N/A np cos ts N/A contours N/A N/A N/A self ax contour ts rs rms levels kwargs N/A add_stddev_contours N/A N/A self std corr1 corr2 N/A kwargs N/A N/A Add a curved line with a radius of std between two points
        [std, corr1] and [std, corr2] N/A t N/A N/A np linspace N/A N/A np arccos corr1 N/A N/A np arccos corr2 N/A r N/A N/A N/A np zeros_like t std N/A N/A N/A N/A self ax plot t r red linewidth 2 N/A add_contours N/A N/A self std1 corr1 std2 corr2 N/A kwargs N/A N/A Add a line between two points
        [std1, corr1] and [std2, corr2] N/A t N/A N/A np linspace N/A N/A np arccos corr1 N/A N/A np arccos corr2 N/A r N/A N/A np linspace std1 std2 N/A N/A N/A N/A self ax plot t r red linewidth 2 N/A N/A draw_histogram N/A N/A dataset_array data_names fname fmt nbins N/A png 10 N/A N/A 
    Purpose::
        Draw histograms

    Input::
        dataset_array - a list of data values [data1, data2, ....]
        data_names    - a list of data names  ['name1','name2',....]
        fname  - a string specifying the filename of the plot
        bins - number of bins
     N/A fig N/A N/A plt figure N/A N/A fig dpi 300 N/A ndata N/A len dataset_array N/A data_min 500.0 N/A data_max 0.0 N/A data dataset_array N/A N/A data_min N/A N/A np min N/A data_min N/A N/A data min N/A data_max N/A N/A np max N/A data_max N/A N/A data max N/A bins N/A N/A np linspace N/A N/A np round data_min N/A N/A np round N/A data_max 1 nbins N/A N/A idata data N/A enumerate dataset_array N/A N/A ax N/A N/A fig add_subplot ndata 1 N/A idata 1 N/A N/A N/A ax hist data bins alpha 0.5 label N/A data_names N/A idata normed True N/A leg N/A N/A ax legend N/A N/A N/A N/A N/A leg get_frame set_alpha 0.5 N/A N/A N/A ax set_xlim N/A N/A data_min N/A N/A data_max data_min 0.15 N/A data_max N/A N/A data_max data_min 0.15 N/A N/A N/A fig savefig N/A %s.%s N/A fname fmt bbox_inches tight dpi N/A fig dpi N/A