Module Expr Str ImportFrom alias Import alias Import alias identifier Import alias Import alias Import alias Import alias Import alias Import alias Import alias Expr Call AttributeLoad NameLoad attr Str Import alias identifier ImportFrom alias Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Num Num body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore Call NameLoad BinOpSub BinOpMult NameLoad NameLoad BinOpMult Num NameLoad Assign NameStore Call NameLoad BinOpSub BinOpMult NameLoad NameLoad BinOpMult Num NameLoad Assign NameStore Call NameLoad NameLoad BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad NameLoad BinOpAdd NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad ExtSlice Slice NameLoad Slice Slice Num SubscriptStore NameLoad ExtSlice Slice UnaryOpUSub NameLoad Slice Slice Num Num Assign SubscriptStore NameLoad ExtSlice Slice Slice NameLoad Slice Num SubscriptStore NameLoad ExtSlice Slice Slice UnaryOpUSub NameLoad Slice Num Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad BinOpDiv NameLoad NameLoad BinOpDiv NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num keyword Str keyword NameLoad keyword ListLoad keyword ListLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Return Call AttributeLoad NameLoad attr Str BinOpAdd Str BinOpMult NameLoad Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr With Call NameLoad NameLoad Str NameStore body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr NameLoad CompareLt Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr orelse Print Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpAdd AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpAdd AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpAdd AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Return BinOpAdd Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad SubscriptLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Index Num attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If NameLoad body Return Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If NameLoad body Return Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If NameLoad body Return Call AttributeLoad NameLoad attr Num Return Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Assign NameStore Num If Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Expr Call AttributeLoad NameLoad attr Num Assign NameStore Num Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore NameStore TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIn NameLoad TupleLoad Str Str Str Str Str body Continue orelse If CompareEq NameLoad Str body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str attr Str If CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Break Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore TupleLoad Call NameLoad Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad NameLoad attr Num Break If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str UnaryOpNot Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Print Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Str Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore Str Assign NameStore Str For NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr With Call NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Call AttributeLoad NameLoad attr AugAssignAdd NameStore Call AttributeLoad NameLoad attr If CompareLt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad BinOpMult Num NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list
N/A N/A 
Sphinx plugin to run example scripts and create a gallery page.

Taken from seaborn project, which is turn was lightly
modified from the mpld3 project.

 __future__ division N/A os N/A os.path op N/A re N/A glob N/A token N/A tokenize N/A shutil N/A json N/A matplotlib N/A N/A N/A matplotlib use Agg N/A matplotlib.pyplot plt matplotlib image N/A RST_TEMPLATE 
.. _{sphinx_tag}:

{docstring}

.. image:: {img_file}

**Python source code:** :download:`[download source: {fname}]<{fname}>`

.. literalinclude:: {fname}
    :lines: {end_line}-
 N/A INDEX_TEMPLATE 

.. raw:: html

    <style type="text/css">
    .figure {{
        position: relative;
        float: left;
        margin: 10px;
        width: 180px;
        height: 200px;
    }}

    .figure img {{
        position: absolute;
        display: inline;
        left: 0;
        width: 170px;
        height: 170px;
        opacity:1.0;
        filter:alpha(opacity=100); /* For IE8 and earlier */
    }}

    .figure:hover img {{
        -webkit-filter: blur(3px);
        -moz-filter: blur(3px);
        -o-filter: blur(3px);
        -ms-filter: blur(3px);
        filter: blur(3px);
        opacity:1.0;
        filter:alpha(opacity=100); /* For IE8 and earlier */
    }}

    .figure span {{
        position: absolute;
        display: inline;
        left: 0;
        width: 170px;
        height: 170px;
        background: #000;
        color: #fff;
        visibility: hidden;
        opacity: 0;
        z-index: 100;
    }}

    .figure p {{
        position: absolute;
        top: 45%;
        width: 170px;
        font-size: 110%;
    }}

    .figure:hover span {{
        visibility: visible;
        opacity: .4;
    }}

    .caption {{
        position: absolue;
        width: 180px;
        top: 170px;
        text-align: center !important;
    }}
    </style>

.. _{sphinx_tag}:

Example gallery
===============

{toctree}

{contents}

.. raw:: html

    <div style="clear: both"></div>
 create_thumbnail N/A N/A infile thumbfile width height cx cy border N/A 300 300 0.5 0.5 4 N/A N/A N/A baseout extout N/A N/A op splitext thumbfile N/A im N/A N/A image imread infile N/A N/A rows cols N/A N/A im shape N/A 2 N/A x0 N/A int N/A N/A cx cols N/A 0.5 width N/A y0 N/A int N/A N/A cy rows N/A 0.5 height N/A xslice N/A slice x0 N/A x0 width N/A yslice N/A slice y0 N/A y0 height N/A thumb N/A im N/A N/A yslice xslice N/A N/A thumb N/A N/A border N/A N/A 3 N/A thumb N/A N/A N/A border N/A N/A 3 0 N/A N/A thumb N/A N/A N/A border N/A 3 N/A thumb N/A N/A N/A N/A border N/A 3 0 N/A dpi 100 N/A fig N/A N/A plt figure figsize N/A N/A width dpi N/A height dpi dpi dpi N/A ax N/A N/A fig add_axes N/A 0 0 1 1 aspect auto frameon False xticks N/A yticks N/A N/A N/A N/A ax imshow thumb aspect auto resample True interpolation bilinear N/A N/A N/A fig savefig thumbfile dpi dpi N/A fig N/A indent N/A N/A s N N/A 4 N/A N/A indent a string N/A N/A N/A s replace N/A N/A N N/A ExampleGenerator N/A object N/A N/A Tools for generating an example page from a file __init__ N/A N/A self filename target_dir N/A N/A N/A N/A self filename filename N/A N/A self target_dir target_dir N/A N/A self thumbloc N/A 0.5 0.5 N/A N/A N/A self extract_docstring N/A N/A open filename r fid N/A N/A N/A self filetext N/A N/A fid read N/A outfilename N/A N/A op join target_dir N/A self rstfilename N/A N/A N/A N/A N/A op exists outfilename N/A N/A N/A op getmtime outfilename N/A N/A op getmtime filename N/A N/A N/A N/A self exec_file N/A N/A N/A N/A skipping {0} format N/A self filename N/A dirname N/A N/A self N/A N/A N/A N/A N/A N/A op split N/A self filename N/A 0 N/A property fname N/A N/A self N/A N/A N/A N/A N/A N/A op split N/A self filename N/A 1 N/A property modulename N/A N/A self N/A N/A N/A N/A N/A N/A op splitext N/A self fname N/A 0 N/A property pyfilename N/A N/A self N/A N/A N/A N/A N/A self modulename .py N/A property rstfilename N/A N/A self N/A N/A N/A N/A N/A self modulename .rst N/A property htmlfilename N/A N/A self N/A N/A N/A N/A N/A self modulename .html N/A property pngfilename N/A N/A self N/A N/A N/A pngfile N/A N/A self modulename .png N/A N/A _images/ pngfile N/A property thumbfilename N/A N/A self N/A N/A N/A pngfile N/A N/A self modulename _thumb.png N/A pngfile N/A property sphinxtag N/A N/A self N/A N/A N/A N/A self modulename N/A property pagetitle N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self docstring strip split N/A 0 strip N/A property plotfunc N/A N/A self N/A N/A N/A match N/A N/A re search sns\.(.+plot)\( N/A self filetext N/A match N/A N/A N/A N/A match group 1 N/A match N/A N/A re search sns\.(.+map)\( N/A self filetext N/A match N/A N/A N/A N/A match group 1 N/A match N/A N/A re search sns\.(.+Grid)\( N/A self filetext N/A match N/A N/A N/A N/A match group 1 N/A N/A property extract_docstring N/A N/A self N/A N/A N/A  Extract a module-level docstring
         N/A lines N/A N/A N/A open N/A self filename readlines N/A start_row 0 N/A N/A N/A N/A lines N/A 0 startswith #! N/A N/A N/A N/A lines pop 0 N/A start_row 1 N/A docstring N/A first_par N/A tokens N/A N/A tokenize generate_tokens N/A N/A N/A lines __iter__ next N/A N/A tok_type tok_content _ N/A erow _ _ tokens N/A N/A tok_type N/A N/A token tok_name N/A tok_type N/A N/A tok_type N/A NEWLINE COMMENT NL INDENT DEDENT N/A N/A N/A N/A N/A tok_type STRING N/A N/A docstring N/A eval tok_content N/A paragraphs N/A N/A N/A N/A join N/A N/A N/A line rstrip N/A line N/A N/A docstring split split N/A N/A N/A len paragraphs 0 N/A N/A first_par N/A paragraphs N/A 0 N/A N/A thumbloc None N/A N/A i line N/A enumerate N/A N/A docstring split N/A N/A m N/A N/A re match ^_thumb: (\.\d+),\s*(\.\d+) line N/A m N/A N/A thumbloc N/A N/A float N/A N/A m group 1 N/A float N/A N/A m group 2 N/A N/A N/A thumbloc None N/A N/A N/A self thumbloc thumbloc N/A docstring N/A N/A join N/A l N/A l N/A N/A docstring split N/A N/A N/A l startswith _thumb N/A N/A self docstring docstring N/A N/A self short_desc first_par N/A N/A self end_line N/A N/A erow 1 start_row N/A exec_file N/A N/A self N/A N/A N/A N/A N/A running {0} format N/A self filename N/A N/A N/A plt close all N/A my_globals N/A pl plt plt plt N/A N/A execfile N/A self filename my_globals N/A fig N/A N/A plt gcf N/A N/A N/A N/A fig canvas draw N/A pngfile N/A N/A op join N/A self target_dir N/A self pngfilename N/A thumbfile N/A N/A op join example_thumbs N/A self thumbfilename N/A N/A self html N/A <img src=../%s> N/A self pngfilename N/A N/A N/A fig savefig pngfile dpi 75 bbox_inches tight N/A N/A cx cy N/A self thumbloc N/A N/A create_thumbnail pngfile thumbfile cx cx cy cy N/A toctree_entry N/A N/A self N/A N/A N/A N/A    ./%s

 N/A N/A N/A op splitext N/A self htmlfilename N/A 0 N/A contents_entry N/A N/A self N/A N/A N/A N/A N/A .. raw:: html

    <div class='figure align-center'>
    <a href=./{0}>
    <img src=../_static/{1}>
    <span class='figure-label'>
    <p>{2}</p>
    </span>
    </a>
    </div>



 format N/A self htmlfilename N/A self thumbfilename N/A self plotfunc N/A N/A main N/A N/A app N/A N/A N/A static_dir N/A N/A op join N/A N/A app builder srcdir _static N/A target_dir N/A N/A op join N/A N/A app builder srcdir examples N/A image_dir N/A N/A op join N/A N/A app builder srcdir examples/_images N/A thumb_dir N/A N/A op join N/A N/A app builder srcdir example_thumbs N/A source_dir N/A N/A op abspath N/A N/A op join N/A N/A app builder srcdir .. examples N/A N/A N/A N/A op exists static_dir N/A N/A N/A N/A os makedirs static_dir N/A N/A N/A N/A op exists target_dir N/A N/A N/A N/A os makedirs target_dir N/A N/A N/A N/A op exists image_dir N/A N/A N/A N/A os makedirs image_dir N/A N/A N/A N/A op exists thumb_dir N/A N/A N/A N/A os makedirs thumb_dir N/A N/A N/A N/A op exists source_dir N/A N/A N/A N/A os makedirs source_dir N/A banner_data N/A N/A toctree 

.. toctree::
   :hidden:

 N/A contents N/A filename N/A N/A glob glob N/A N/A op join source_dir *.py N/A N/A ex N/A ExampleGenerator filename target_dir N/A N/A N/A banner_data append N/A title url thumb N/A ex pagetitle N/A N/A op join examples N/A ex htmlfilename N/A N/A op join N/A ex thumbfilename N/A N/A N/A shutil copyfile filename N/A N/A op join target_dir N/A ex pyfilename N/A output N/A N/A RST_TEMPLATE format sphinx_tag N/A ex sphinxtag docstring N/A ex docstring end_line N/A ex end_line fname N/A ex pyfilename img_file N/A ex pngfilename N/A N/A open N/A N/A op join target_dir N/A ex rstfilename w f N/A N/A N/A N/A f write output N/A toctree N/A N/A ex toctree_entry N/A contents N/A N/A ex contents_entry N/A N/A N/A len banner_data 10 N/A N/A banner_data N/A N/A 4 banner_data N/A 10 N/A index_file N/A N/A op join target_dir index.rst N/A N/A open index_file w index N/A N/A N/A N/A index write N/A N/A INDEX_TEMPLATE format sphinx_tag example_gallery toctree toctree contents contents N/A setup N/A N/A app N/A N/A N/A N/A N/A app connect builder-inited main N/A