Module Expr Str Assign NameStore Str Import alias Import alias identifier Expr Call AttributeLoad NameLoad attr Str Import alias Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str NameLoad NameLoad Assign NameStore Dict Str Str Str Str Num NameLoad Num TupleLoad Num Num Num Num Assign NameStore Dict Str Str Str TupleLoad Num Num Num Num Str Num Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Num NameLoad NameLoad NameLoad Num Str Str Str Str Str Num Num Num Str Num ListLoad Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Num NameLoad NameLoad NameLoad Num Str Str Str Str Str Num Num Num Str Num ListLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad FunctionDef arguments args defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad FunctionDef arguments args defaults body If CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad orelse Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad FunctionDef arguments args defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad FunctionDef arguments args defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad FunctionDef arguments args defaults body If CompareIs AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad body Return NameLoad orelse Return Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str NameLoad decorator_list Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword Dict Str Str Str SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str keyword Dict Str Str Str SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str keyword Dict Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword Dict Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword Dict Str Str Str Str Str Str Str Str Str Str Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Dict Str Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Num keyword Dict Str Str Str Str Str Str Str Str Str Str Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Dict Str Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str keyword Str decorator_list decorator_list
N/A N/A Unit test for the MplAxesStyle class. N/A __version__ $Revision: #1 $ N/A unittest N/A matplotlib mpl N/A N/A N/A mpl use Agg N/A matplotlib.axes N/A matplotlib.figure mplStyle MplAxesStyle TestMplAxesStyle N/A N/A unittest TestCase N/A N/A Test the MplAxesStyle class. setUp N/A N/A self N/A N/A N/A This method is called before any tests are run. N/A N/A tearDown N/A N/A self N/A N/A N/A This method is called after all tests are run. N/A N/A checkElement N/A N/A self testName values element N/A N/A N/A property values N/A N/A expected N/A values N/A property N/A msg N/A %s: Incorrect value for property: %s N/A testName property N/A getFunc N/A getattr element N/A get_%s property N/A N/A N/A self assertEqual expected N/A getFunc msg msg N/A testFigure N/A N/A self N/A N/A N/A A basic test of MplAxesStyle using matplotlib.Figure. N/A axVals N/A axisbelow frame_on True False N/A patchVals N/A alpha visible zorder facecolor 0.95 False 5 N/A 1.0 0.0 0.0 0.95 N/A edgeVals N/A edgecolor linestyle linewidth N/A 0.0 0.0 1.0 0.95 dashdot 2.5 N/A titleVals N/A alpha clip_on snap visible zorder backgroundcolor color verticalalignment horizontalalignment multialignment linespacing rotation fontsize fontstyle fontweight fontfamily 0.95 True True True 3 #FF0000 #00FF00 baseline center right 1.2 0.0 14.0 normal 400 N/A sans-serif N/A labelVals N/A alpha clip_on snap visible zorder backgroundcolor color verticalalignment horizontalalignment multialignment linespacing rotation fontsize fontstyle fontweight fontfamily 0.95 True True False 5 #FF0000 #00FF00 center left right 2.0 15.0 24.0 italic 700 N/A serif N/A fig N/A N/A N/A mpl figure Figure N/A ax N/A N/A N/A mpl axes Axes fig N/A 0.2 0.2 0.6 0.6 N/A N/A N/A ax set_title Axes Title get_linespacing N/A N/A N/A N/A N/A N/A N/A ax title _linespacing N/A N/A N/A N/A ax title get_linespacing get_linespacing get_multialignment N/A N/A N/A N/A N/A N/A N/A ax title _multialignment N/A N/A N/A N/A ax title get_multialignment get_multialignment get_backgroundcolor N/A N/A N/A N/A N/A N/A N/A N/A ax title _bbox None N/A N/A None N/A N/A N/A N/A N/A N/A ax title _bbox get facecolor None N/A N/A N/A N/A ax title get_backgroundcolor get_backgroundcolor get_linespacing N/A N/A N/A N/A N/A N/A N/A N/A ax xaxis label _linespacing N/A N/A N/A N/A N/A ax xaxis label get_linespacing get_linespacing get_multialignment N/A N/A N/A N/A N/A N/A N/A N/A ax xaxis label _multialignment N/A N/A N/A N/A N/A ax xaxis label get_multialignment get_multialignment get_backgroundcolor N/A N/A N/A N/A N/A N/A N/A N/A N/A ax xaxis label _bbox None N/A N/A None N/A N/A N/A N/A N/A N/A N/A ax xaxis label _bbox get facecolor None N/A N/A N/A N/A N/A ax xaxis label get_backgroundcolor get_backgroundcolor N/A style N/A MplAxesStyle axisBelow N/A axVals N/A axisbelow showFrame N/A axVals N/A frame_on alpha N/A patchVals N/A alpha visible N/A patchVals N/A visible zOrder N/A patchVals N/A zorder bgColor N/A patchVals N/A facecolor leftEdge N/A color style width N/A edgeVals N/A edgecolor -. N/A edgeVals N/A linewidth rightEdge N/A color style width N/A edgeVals N/A edgecolor -. N/A edgeVals N/A linewidth topEdge N/A color style width N/A edgeVals N/A edgecolor N/A edgeVals N/A linestyle N/A edgeVals N/A linewidth bottomEdge N/A color style width N/A edgeVals N/A edgecolor N/A edgeVals N/A linestyle N/A edgeVals N/A linewidth title N/A alpha clip snap visible zOrder bgColor fgColor vertAlign horizAlign multiAlign lineSpacing rotation font N/A titleVals N/A alpha N/A titleVals N/A clip_on N/A titleVals N/A snap N/A titleVals N/A visible N/A titleVals N/A zorder N/A titleVals N/A backgroundcolor #00FF00 N/A titleVals N/A verticalalignment N/A titleVals N/A horizontalalignment N/A titleVals N/A multialignment N/A titleVals N/A linespacing N/A titleVals N/A rotation N/A size style weight family N/A titleVals N/A fontsize N/A titleVals N/A fontstyle N/A titleVals N/A fontweight N/A N/A titleVals N/A fontfamily N/A 0 labels N/A alpha clip snap visible zOrder bgColor fgColor vertAlign horizAlign multiAlign lineSpacing rotation font N/A labelVals N/A alpha N/A labelVals N/A clip_on N/A labelVals N/A snap N/A labelVals N/A visible N/A labelVals N/A zorder N/A labelVals N/A backgroundcolor #00FF00 N/A labelVals N/A verticalalignment N/A labelVals N/A horizontalalignment N/A labelVals N/A multialignment N/A labelVals N/A linespacing N/A labelVals N/A rotation N/A size style weight family N/A labelVals N/A fontsize N/A labelVals N/A fontstyle N/A labelVals N/A fontweight N/A N/A labelVals N/A fontfamily N/A 0 N/A N/A N/A style apply ax N/A N/A N/A self checkElement Apply axVals ax N/A N/A N/A self checkElement Apply: Patch patchVals N/A ax patch N/A N/A N/A self checkElement Apply: Left Edge edgeVals N/A N/A ax spines N/A left N/A N/A N/A self checkElement Apply: Right Edge edgeVals N/A N/A ax spines N/A right N/A N/A N/A self checkElement Apply: Top Edge edgeVals N/A N/A ax spines N/A top N/A N/A N/A self checkElement Apply: Bottom Edge edgeVals N/A N/A ax spines N/A bottom N/A N/A N/A self checkElement Apply: Title titleVals N/A ax title N/A N/A N/A self checkElement Apply: Label labelVals N/A N/A ax xaxis label N/A N/A N/A self assertRaises Exception N/A style apply invalid msg Failed to throw on invalid element. N/A N/A