Module Expr Str Import alias ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body Pass decorator_list Assign NameStore Call NameLoad keyword Str ClassDef bases NameLoad body Expr Str Assign NameStore Dict Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore IfExp CompareEq SubscriptLoad NameLoad Index Num Str SubscriptLoad NameLoad Slice Num NameLoad Return IfExp CompareEq SubscriptLoad NameLoad Index Num Str SubscriptLoad NameLoad Slice Num NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore IfExp CompareEq NameLoad Str Str Str If CompareIs NameLoad NameLoad body Return ListLoad Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num BinOpMod NameLoad Call AttributeLoad Str attr NameLoad orelse If CompareEq Call AttributeLoad NameLoad attr Str body Continue Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Dict body Expr Str Assign TupleStore NameStore NameStore TupleLoad ListLoad Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore Call NameLoad NameLoad Lambda arguments args NameParam defaults CompareIn Str NameLoad body Assign TupleStore NameStore NameStore NameLoad If CompareIs NameLoad NameLoad body AugAssignAdd NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore IfExp Call NameLoad GeneratorExp BoolOpOr CompareIn Str NameLoad CompareIn Str NameLoad comprehension NameStore NameLoad Str Str AugAssignAdd SubscriptStore NameLoad Index Num BinOpAdd NameLoad Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body For TupleStore NameStore NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body If AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str keyword Call AttributeLoad NameLoad attr BinOpBitXor Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Call AttributeLoad NameLoad attr BinOpBitXor Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr attr Str Assign NameStore BinOpBitOr NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad attr Str Assign NameStore BinOpBitOr NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad attr Str Assign NameStore BinOpBitOr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr NameLoad keyword Num Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad BinOpBitOr NameLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad BinOpBitAnd BinOpBitAnd Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotIn Str NameLoad body Return NameLoad Assign NameStore Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num attr If CompareEq NameLoad ListLoad body Return NameLoad Assign NameStore ListLoad Str Str Str Str For NameStore NameLoad body If CompareGt Call AttributeLoad NameLoad attr NameLoad Num body Raise Call NameLoad BinOpMod Str NameLoad If UnaryOpNot Call NameLoad GeneratorExp CompareIn NameLoad NameLoad comprehension NameStore NameLoad body Raise Call NameLoad BinOpMod Str Call AttributeLoad Str attr NameLoad Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str For NameStore NameLoad body If Call NameLoad GeneratorExp CompareIn NameLoad NameLoad comprehension NameStore NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If BoolOpAnd CompareEq Call NameLoad NameLoad Num Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Assign NameStore NameLoad Assign NameStore IfExp CompareIn Str NameLoad NameLoad NameLoad orelse If BoolOpAnd CompareEq Call NameLoad NameLoad Num Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Assign NameStore NameLoad Assign NameStore IfExp CompareIn Str NameLoad NameLoad NameLoad orelse Assign NameStore IfExp CompareIn Str NameLoad NameLoad NameLoad Assign NameStore IfExp CompareIn Str NameLoad NameLoad NameLoad Return Call NameLoad keyword NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Dict body Expr Str Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice NameLoad If CompareNotEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str SubscriptLoad NameLoad Slice NameLoad Assign NameStore Dict For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad If CompareIn Str NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad DictComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareIn Str NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad DictComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareIn SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str attr NameLoad orelse Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str NameLoad Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Dict body Expr Str Assign NameStore ListLoad Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice NameLoad If CompareNotEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str SubscriptLoad NameLoad Slice NameLoad Assign NameStore DictComp AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If BoolOpOr CompareNotIn Str NameLoad CompareNotIn SubscriptLoad NameLoad Index Str ListLoad Str Str body Raise Call NameLoad Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Dict Assign NameStore SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Index Num If CompareNotIn SubscriptLoad NameLoad Index Str NameLoad body Raise Call NameLoad BinOpMod Str SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Str keyword NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad decorator_list
N/A N/A 
The magics offered by the HoloViews IPython extension are powerful and
support rich, compositional specifications. To avoid the the brittle,
convoluted code that results from trying to support the syntax in pure
Python, this file defines suitable parsers using pyparsing that are
cleaner and easier to understand.

Pyparsing is required by matplotlib and will therefore be available if
HoloViews is being used in conjunction with matplotlib.
 N/A param itertools groupby N/A pyparsing pp holoviews.core.options Options operation Compositor N/A ascii_uppercase ABCDEFGHIJKLMNOPQRSTUVWXYZ N/A allowed 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&\()*+,-./:;<=>?@\^_`{|}~ ParserWarning N/A N/A param Parameterized N/A N/A N/A N/A parsewarning N/A ParserWarning name Warning Parser N/A object N/A N/A 
    Base class for magic line parsers, designed for forgiving parsing
    of keyword lists.
     N/A namespace N/A N/A abort_on_eval_failure False _strip_commas N/A N/A cls kw N/A N/A N/A Strip out any leading/training commas from the token N/A kw N/A N/A N/A kw N/A -1 , N/A kw N/A -1 kw N/A N/A N/A N/A kw N/A 0 , N/A kw N/A 1 kw N/A classmethod collect_tokens N/A N/A cls parseresult mode N/A N/A N/A 
        Collect the tokens from a (potentially) nested parse result.
         N/A inner N/A N/A mode parens (%s) [%s] N/A N/A parseresult None N/A N/A N/A N/A tokens N/A N/A token N/A N/A parseresult asList N/A N/A N/A isinstance token list N/A N/A N/A tokens N/A -1 N/A N/A tokens N/A -1 N/A inner N/A N/A join token N/A N/A N/A N/A N/A token strip , N/A N/A N/A N/A N/A tokens append N/A N/A cls _strip_commas token N/A tokens N/A classmethod todict N/A N/A cls parseresult mode ns N/A parens N/A N/A N/A 
        Helper function to return dictionary given the parse results
        from a pyparsing.nestedExpr object (containing keywords).

        The ns is a dynamic namespace (typically the IPython Notebook
        namespace) used to update the class-level namespace.
         N/A N/A grouped kwargs N/A N/A N/A N/A tokens N/A N/A cls collect_tokens parseresult mode N/A group N/A groupby tokens N/A N/A N/A el N/A N/A = el N/A N/A N/A val items group N/A N/A val True N/A N/A grouped N/A list items N/A N/A val False N/A N/A elements N/A list items N/A joiner N/A N/A any N/A N/A N/A ) el N/A } el N/A el elements , N/A N/A grouped N/A -1 N/A joiner N/A N/A joiner join elements N/A keyword grouped N/A N/A N/A fst snd N/A N/A (, ( N/A {, { N/A =, = N/A ,: : N/A N/A keyword N/A N/A keyword replace fst snd N/A N/A N/A N/A N/A kwargs update N/A eval N/A dict(%s) keyword N/A dict N/A cls namespace ns N/A N/A N/A N/A N/A cls abort_on_eval_failure N/A N/A N/A SyntaxError N/A Could not evaluate keyword: %r keyword N/A msg Ignoring keyword pair that fails to evaluate: '%s' N/A N/A N/A parsewarning warning N/A msg keyword N/A kwargs N/A classmethod N/A OptsSpec N/A Parser N/A N/A 
    An OptsSpec is a string specification that describes an
    OptionTree. It is a list of tree path specifications (using dotted
    syntax) separated by keyword lists for any of the style, plotting
    or normalization options. These keyword lists are denoted
    'plot(..)', 'style(...)' and 'norm(...)'  respectively.  These
    three groups may be specified even more concisely using keyword
    lists delimited by square brackets, parentheses and braces
    respectively.  All these sets are optional and may be supplied in
    any order.

    For instance, the following string:

    Image (interpolation=None) plot(show_title=False) Curve style(color='r')

    Would specify an OptionTree where Image has "interpolation=None"
    for style and 'show_title=False' for plot options. The Curve has a
    style set such that color='r'.

    The parser is fairly forgiving; commas between keywords are
    optional and additional spaces are often allowed. The only
    restriction is that keywords *must* be immediately followed by the
    '=' sign (no space).
     N/A plot_options_short N/A N/A N/A N/A pp nestedExpr [ ] content N/A N/A pp OneOrMore N/A N/A N/A pp Word allowed N/A pp quotedString setResultsName plot_options N/A plot_options_long N/A N/A N/A N/A pp nestedExpr opener plot[ closer ] content N/A N/A pp OneOrMore N/A N/A N/A pp Word allowed N/A pp quotedString setResultsName plot_options N/A plot_options N/A plot_options_short plot_options_long N/A style_options_short N/A N/A N/A N/A pp nestedExpr opener ( closer ) ignoreExpr None setResultsName style_options N/A style_options_long N/A N/A N/A N/A pp nestedExpr opener style( closer ) ignoreExpr None setResultsName style_options N/A style_options N/A style_options_short style_options_long N/A norm_options_short N/A N/A N/A N/A pp nestedExpr opener { closer } ignoreExpr None setResultsName norm_options N/A norm_options_long N/A N/A N/A N/A pp nestedExpr opener norm{ closer } ignoreExpr None setResultsName norm_options N/A norm_options N/A norm_options_short norm_options_long N/A compositor_ops N/A N/A pp MatchFirst N/A N/A N/A pp Literal N/A el group N/A el N/A Compositor definitions N/A dotted_path N/A N/A pp Combine N/A N/A N/A pp Word ascii_uppercase exact 1 N/A N/A pp Word N/A N/A pp alphanums ._ N/A pathspec N/A N/A N/A dotted_path compositor_ops setResultsName pathspec N/A spec_group N/A N/A pp Group N/A pathspec N/A N/A N/A N/A pp Optional norm_options N/A N/A pp Optional plot_options N/A N/A pp Optional style_options N/A opts_spec N/A N/A pp OneOrMore spec_group N/A aliases N/A horizontal_spacing vertical_spacing figure_alpha figure_bounds figure_inches figure_latex figure_rcparams figure_size show_xaxis show_yaxis hspace vspace     fig_alpha fig_bounds fig_inches fig_latex fig_rcparams fig_size xaxis yaxis process_normalization N/A N/A cls parse_group N/A N/A N/A 
        Given a normalization parse group (i.e. the contents of the
        braces), validate the option list and compute the appropriate
        integer value for the normalization plotting option.
         N/A N/A norm_options parse_group N/A N/A None N/A opts N/A N/A N/A N/A parse_group N/A norm_options N/A 0 asList N/A N/A opts N/A N/A N/A None N/A options N/A +framewise -framewise +axiswise -axiswise N/A normopt options N/A N/A N/A N/A N/A opts count normopt 1 N/A N/A N/A SyntaxError N/A Normalization specification must not contain repeated %r normopt N/A N/A N/A all N/A N/A opt options N/A opt opts N/A N/A N/A SyntaxError N/A Normalization option not one of %s N/A N/A ,  join options N/A excluded N/A N/A +framewise -framewise N/A +axiswise -axiswise N/A pair excluded N/A N/A N/A all N/A N/A exclude opts N/A exclude pair N/A N/A N/A SyntaxError N/A Normalization specification cannot contain both %s and %s N/A N/A pair N/A 0 N/A pair N/A 1 N/A N/A N/A N/A len opts 1 N/A N/A N/A opts N/A 0 endswith framewise N/A N/A axiswise False N/A framewise N/A N/A +framewise opts True False N/A N/A N/A N/A N/A len opts 1 N/A N/A N/A opts N/A 0 endswith axiswise N/A N/A framewise False N/A axiswise N/A N/A +axiswise opts True False N/A N/A axiswise N/A N/A +axiswise opts True False N/A framewise N/A N/A +framewise opts True False N/A N/A dict axiswise axiswise framewise framewise N/A classmethod parse N/A N/A cls line ns N/A N/A N/A N/A 
        Parse an options specification, returning a dictionary with
        path keys and {'plot':<options>, 'style':<options>} values.
         N/A parses N/A p N/A p N/A N/A N/A cls opts_spec scanString line N/A N/A N/A len parses 1 N/A N/A N/A SyntaxError Invalid specification syntax. N/A N/A N/A k s e N/A parses N/A 0 N/A processed N/A line N/A e N/A N/A N/A N/A processed strip N/A N/A line strip N/A N/A N/A SyntaxError N/A Failed to parse remainder of string: %r N/A line N/A e N/A parse N/A N/A group N/A N/A N/A cls opts_spec parseString line N/A N/A options N/A N/A normalization N/A N/A cls process_normalization group N/A N/A normalization None N/A N/A N/A options N/A norm N/A Options normalization N/A N/A plot_options group N/A N/A plotopts N/A N/A group N/A plot_options N/A 0 N/A opts N/A N/A cls todict plotopts brackets ns ns N/A N/A options N/A plot N/A Options N/A N/A N/A N/A cls aliases get k k v N/A N/A k v N/A N/A opts items N/A N/A style_options group N/A N/A styleopts N/A N/A group N/A style_options N/A 0 N/A opts N/A N/A cls todict styleopts parens ns ns N/A N/A options N/A style N/A Options N/A N/A N/A N/A cls aliases get k k v N/A N/A k v N/A N/A opts items N/A N/A N/A group N/A pathspec parse N/A N/A N/A N/A N/A parse N/A N/A group N/A pathspec update options N/A N/A N/A parse N/A N/A group N/A pathspec options N/A parse N/A classmethod N/A CompositorSpec N/A Parser N/A N/A 
    The syntax for defining a set of compositor is as follows:

    [ mode op(spec) [settings] value ]+

    The components are:

    mode      : Operation mode, either 'data' or 'display'.
    group     : Value identifier with capitalized initial letter.
    op        : The name of the operation to apply.
    spec      : Overlay specification of form (A * B) where A and B are
                 dotted path specifications.
    settings  : Optional list of keyword arguments to be used as
                parameters to the operation (in square brackets).
     N/A mode N/A N/A N/A N/A pp Word N/A N/A N/A pp alphas N/A pp nums _ setResultsName mode N/A op N/A N/A N/A N/A pp Word N/A N/A N/A pp alphas N/A pp nums _ setResultsName op N/A overlay_spec N/A N/A N/A N/A pp nestedExpr opener ( closer ) ignoreExpr None setResultsName spec N/A value N/A N/A N/A N/A pp Word N/A N/A N/A pp alphas N/A pp nums _ setResultsName value N/A op_settings N/A N/A N/A N/A pp nestedExpr opener [ closer ] ignoreExpr None setResultsName op_settings N/A compositor_spec N/A N/A pp OneOrMore N/A N/A pp Group N/A N/A N/A N/A mode op overlay_spec value N/A N/A pp Optional op_settings parse N/A N/A cls line ns N/A N/A N/A N/A 
        Parse compositor specifications, returning a list Compositors
         N/A definitions N/A N/A parses N/A p N/A p N/A N/A N/A cls compositor_spec scanString line N/A N/A N/A len parses 1 N/A N/A N/A SyntaxError Invalid specification syntax. N/A N/A N/A k s e N/A parses N/A 0 N/A processed N/A line N/A e N/A N/A N/A N/A processed strip N/A N/A line strip N/A N/A N/A SyntaxError N/A Failed to parse remainder of string: %r N/A line N/A e N/A opmap N/A N/A op __name__ op N/A op N/A Compositor operations N/A group N/A N/A N/A cls compositor_spec parseString line N/A N/A N/A N/A mode group N/A N/A group N/A mode N/A data display N/A N/A N/A SyntaxError Either data or display mode must be specified. N/A mode N/A group N/A mode N/A kwargs N/A N/A operation N/A opmap N/A N/A group N/A op N/A spec N/A N/A join N/A N/A N/A N/A group N/A spec asList N/A 0 N/A N/A N/A group N/A op opmap N/A N/A N/A SyntaxError N/A Operation %s not available for use with compositors. N/A group N/A op N/A N/A op_settings group N/A N/A kwargs N/A N/A cls todict N/A N/A group N/A op_settings N/A 0 brackets ns ns N/A definition N/A Compositor N/A str spec operation N/A str N/A group N/A value mode kwargs N/A N/A N/A definitions append definition N/A definitions N/A classmethod N/A