Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias Import alias Import alias ImportFrom alias alias Assign NameStore Str Assign NameStore Num Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str NameLoad NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad Dict Str Str Str NameLoad FunctionDef arguments args defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str orelse Assign NameStore Dict Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad Call NameLoad Str NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Str orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Slice Num attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIn NameLoad NameLoad body Return Call NameLoad NameLoad If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad If CompareIn NameLoad NameLoad body Return Str orelse Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults TupleLoad body Expr Str Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str For NameStore Call NameLoad NameLoad body If CompareIn NameLoad NameLoad body Continue Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index Str For NameStore Call NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore DictComp NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults TupleLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad For NameStore Call AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareNotIn NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareNotIn NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults TupleLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareNotIn NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults TupleLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad For NameStore Call AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareNotIn NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body If BoolOpAnd Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareNotIn NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body If BoolOpAnd Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str If CompareIn Str NameLoad body For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num orelse If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore SubscriptLoad NameLoad Slice NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num orelse Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad TupleLoad body Expr Str If BoolOpAnd CompareIn NameLoad NameLoad CompareEq NameLoad Str body Return Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Dict attr body If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareIsNot NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpAnd NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body Assign NameStore Str orelse Assign NameStore SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return NameLoad For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Slice Call NameLoad NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If Call NameLoad ListComp CompareIn NameLoad NameLoad comprehension NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Continue If CompareNotEq Call AttributeLoad NameLoad attr Str Str body Continue If CompareIn Str NameLoad body Continue Assign NameStore SubscriptLoad NameLoad Index Num If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Str Str Str ListLoad ListLoad Dict If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr BinOpAdd NameLoad TupleLoad Str orelse Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr NameLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If Call NameLoad ListComp CompareIn NameLoad NameLoad comprehension NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Continue If BoolOpAnd NameLoad CompareEq SubscriptLoad NameLoad Index Num Str body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Str Str Str ListLoad TupleLoad Str NameLoad ListLoad TupleLoad Str NameLoad Str Dict Assign SubscriptStore NameLoad Index Str Dict Str Str Str ListLoad TupleLoad Str NameLoad Dict Assign NameStore Dict Str Str Dict Str Str Dict Str Str Str NameLoad Assign SubscriptStore NameLoad Index Str Dict Str Str Str ListLoad ListLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If Call NameLoad ListComp CompareIn NameLoad NameLoad comprehension NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Continue If CompareNotEq Call AttributeLoad NameLoad attr Str Str body Continue If CompareNotIn Str NameLoad body Continue Assign NameStore SubscriptLoad NameLoad Index Num If CompareNotIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr orelse Assign NameStore ListLoad SubscriptLoad NameLoad Slice Num Assign SubscriptStore NameLoad Index NameLoad Dict Str Str ListLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign SubscriptStore NameLoad Index Str Dict Str Str ListLoad TupleLoad Str Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str If BoolOpOr CompareIn NameLoad NameLoad CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Str Str NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad Dict Str Str NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Dict Str Str NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore Call NameLoad Expr Call NameLoad Assign NameStore Call NameLoad Expr Call NameLoad Assign NameStore Call NameLoad Assign NameStore DictComp SubscriptLoad NameLoad Index Str NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareIsNot SubscriptLoad NameLoad Index Str NameLoad
N/A N/A 
This module handles accessing, storing, and managing the graph reference.

 __future__ absolute_import N/A hashlib N/A json N/A os N/A re pkg_resources resource_string N/A requests N/A six plotly files utils N/A GRAPH_REFERENCE_PATH /v2/plot-schema N/A GRAPH_REFERENCE_DOWNLOAD_TIMEOUT 5 N/A _BACKWARDS_COMPAT_CLASS_NAMES N/A AngularAxis Annotation Annotations Area Bar Box ColorBar Contour Contours Data ErrorX ErrorY ErrorZ Figure Font Heatmap Histogram Histogram2d Histogram2dContour Layout Legend Line Margin Marker RadialAxis Scatter Scatter3d Scene Stream Surface Trace XAxis XBins YAxis YBins ZAxis N/A object_name base_type angularaxis dict N/A object_name base_type annotation dict N/A object_name base_type annotations list N/A object_name base_type area dict N/A object_name base_type bar dict N/A object_name base_type box dict N/A object_name base_type colorbar dict N/A object_name base_type contour dict N/A object_name base_type contours dict N/A object_name base_type data list N/A object_name base_type error_x dict N/A object_name base_type error_y dict N/A object_name base_type error_z dict N/A object_name base_type figure dict N/A object_name base_type font dict N/A object_name base_type heatmap dict N/A object_name base_type histogram dict N/A object_name base_type histogram2d dict N/A object_name base_type histogram2dcontour dict N/A object_name base_type layout dict N/A object_name base_type legend dict N/A object_name base_type line dict N/A object_name base_type margin dict N/A object_name base_type marker dict N/A object_name base_type radialaxis dict N/A object_name base_type scatter dict N/A object_name base_type scatter3d dict N/A object_name base_type scene dict N/A object_name base_type stream dict N/A object_name base_type surface dict N/A object_name base_type None dict N/A object_name base_type xaxis dict N/A object_name base_type xbins dict N/A object_name base_type yaxis dict N/A object_name base_type ybins dict N/A object_name base_type zaxis dict get_graph_reference N/A N/A N/A N/A N/A 
    Attempts to load local copy of graph reference or makes GET request if DNE.

    :return: (dict) The graph reference.
    :raises: (PlotlyError) When graph reference DNE and GET request fails.

     N/A default_config N/A N/A files FILE_CONTENT N/A N/A files CONFIG_FILE N/A N/A N/A files check_file_permissions N/A N/A graph_reference N/A N/A utils load_json_dict N/A files GRAPH_REFERENCE_FILE N/A config N/A N/A utils load_json_dict N/A files CONFIG_FILE N/A plotly_api_domain N/A N/A config get plotly_api_domain N/A default_config N/A plotly_api_domain N/A N/A graph_reference N/A N/A plotly_api_domain N/A default_config N/A plotly_api_domain N/A sha1 N/A N/A N/A N/A hashlib sha1 N/A N/A six b N/A str graph_reference hexdigest N/A graph_reference_url N/A N/A {}{}?sha1={} format plotly_api_domain GRAPH_REFERENCE_PATH sha1 N/A N/A N/A response N/A N/A requests get graph_reference_url timeout GRAPH_REFERENCE_DOWNLOAD_TIMEOUT N/A N/A N/A response raise_for_status N/A N/A N/A N/A N/A requests exceptions RequestException N/A N/A N/A graph_reference N/A N/A path N/A N/A N/A os path join graph_reference default-schema.json N/A s N/A N/A N/A resource_string plotly path decode utf-8 N/A graph_reference N/A N/A json loads s N/A N/A N/A six PY3 N/A N/A content N/A str N/A response content encoding utf-8 N/A N/A content N/A response content N/A data N/A N/A json loads content N/A N/A data N/A modified N/A N/A graph_reference N/A data N/A schema N/A N/A N/A utils decode_unicode graph_reference N/A string_to_class_name N/A N/A string N/A N/A N/A 
    Single function to handle turning object names into class names.

    GRAPH_REFERENCE has names like `error_y`, which we'll turn into `ErrorY`.

    :param (str) string: A string that we'll turn into a class name string.
    :return: (str)

     N/A string N/A N/A re sub [A-Za-z] N/A N/A N/A m N/A N/A N/A N/A N/A m group title string count 1 N/A string N/A N/A re sub _[A-Za-z0-9]+ N/A N/A N/A m N/A N/A N/A N/A N/A N/A m group N/A 1 title string N/A N/A str string N/A object_name_to_class_name N/A N/A object_name N/A N/A N/A Not all objects have classes auto-generated. N/A N/A object_name TRACE_NAMES N/A N/A N/A string_to_class_name object_name N/A N/A object_name OBJECT_NAME_TO_CLASS_NAME N/A N/A N/A OBJECT_NAME_TO_CLASS_NAME N/A object_name N/A N/A object_name ARRAYS N/A N/A list N/A N/A dict N/A get_attributes_dicts N/A N/A object_name parent_object_names N/A N/A N/A N/A 
    Returns *all* attribute information given the context of parents.

    The response has the form:
    {
      ('some', 'path'): {},
      ('some', 'other', 'path'): {},
      ...
      'additional_attributes': {}
    }

    There may be any number of paths mapping to attribute dicts. There will be
    one attribute dict under 'additional_attributes' which will usually be
    empty.

    :param (str|unicode) object_name: The object name whose attributes we want.
    :param (list[str|unicode]) parent_object_names: Names of parent objects.
    :return: (dict)

     N/A object_dict N/A OBJECTS N/A object_name N/A additional_attributes N/A object_dict N/A additional_attributes N/A attribute_paths N/A list N/A object_dict N/A attribute_paths N/A parent_object_name N/A reversed parent_object_names N/A N/A N/A parent_object_name ARRAYS N/A N/A N/A parent_object_dict N/A OBJECTS N/A parent_object_name N/A parent_attribute_paths N/A parent_object_dict N/A attribute_paths N/A path N/A list attribute_paths N/A N/A N/A N/A _is_valid_sub_path path parent_attribute_paths N/A N/A N/A N/A attribute_paths remove path N/A attributes_dicts N/A path N/A N/A utils get_by_path GRAPH_REFERENCE path N/A path attribute_paths N/A N/A attributes_dicts N/A additional_attributes additional_attributes N/A attributes_dicts N/A get_valid_attributes N/A N/A object_name parent_object_names N/A N/A N/A N/A attributes N/A get_attributes_dicts object_name parent_object_names N/A valid_attributes N/A set N/A attributes_dict N/A N/A attributes values N/A N/A N/A key val N/A N/A attributes_dict items N/A N/A N/A key N/A N/A GRAPH_REFERENCE N/A defs N/A metaKeys N/A N/A N/A N/A valid_attributes add key N/A deprecated_attributes N/A N/A attributes_dict get _deprecated N/A N/A N/A key val N/A N/A deprecated_attributes items N/A N/A N/A key N/A N/A GRAPH_REFERENCE N/A defs N/A metaKeys N/A N/A N/A N/A valid_attributes add key N/A valid_attributes N/A get_deprecated_attributes N/A N/A object_name parent_object_names N/A N/A N/A N/A attributes N/A get_attributes_dicts object_name parent_object_names N/A deprecated_attributes N/A set N/A attributes_dict N/A N/A attributes values N/A N/A deprecated_attributes_dict N/A N/A attributes_dict get _deprecated N/A N/A N/A key val N/A N/A deprecated_attributes_dict items N/A N/A N/A key N/A N/A GRAPH_REFERENCE N/A defs N/A metaKeys N/A N/A N/A N/A deprecated_attributes add key N/A deprecated_attributes N/A get_subplot_attributes N/A N/A object_name parent_object_names N/A N/A N/A N/A attributes N/A get_attributes_dicts object_name parent_object_names N/A subplot_attributes N/A set N/A attributes_dict N/A N/A attributes values N/A N/A N/A key val N/A N/A attributes_dict items N/A N/A N/A key N/A N/A GRAPH_REFERENCE N/A defs N/A metaKeys N/A N/A N/A N/A isinstance val dict N/A N/A val get _isSubplotObj N/A N/A N/A N/A subplot_attributes add key N/A deprecated_attributes N/A N/A attributes_dict get _deprecated N/A N/A N/A key val N/A N/A deprecated_attributes items N/A N/A N/A key N/A N/A GRAPH_REFERENCE N/A defs N/A metaKeys N/A N/A N/A N/A isinstance val dict N/A N/A val get _isSubplotObj N/A N/A N/A N/A subplot_attributes add key N/A subplot_attributes N/A attribute_path_to_object_names N/A N/A attribute_container_path N/A N/A N/A 
    Return a location within a figure from a path existing in GRAPH_REFERENCE.

    Users don't need to know about GRAPH_REFERENCE, so yielding information
    about paths there would only be confusing. Also, the implementation and
    structure there may change, but figure structure won't.

    :param (tuple[str]) attribute_container_path: An object should exist here.

    :return: (tuple[str]) A tuple of object names:

    Example:

        In: ('traces', 'pie', 'attributes', 'marker')
        Out: ('figure', 'data', 'pie', 'marker')

     N/A object_names N/A figure N/A N/A layout attribute_container_path N/A N/A path_part attribute_container_path N/A N/A N/A path_part OBJECTS N/A N/A N/A N/A object_names append path_part N/A N/A path_part ARRAYS N/A N/A N/A N/A object_names append path_part N/A N/A N/A object_names append N/A path_part N/A -1 N/A N/A N/A layoutAttributes attribute_container_path N/A N/A N/A N/A object_names append layout N/A start_index N/A N/A attribute_container_path index layoutAttributes N/A path_part N/A attribute_container_path N/A start_index N/A N/A N/A path_part OBJECTS N/A N/A N/A N/A object_names append path_part N/A N/A path_part ARRAYS N/A N/A N/A N/A object_names append path_part N/A N/A N/A object_names append N/A path_part N/A -1 N/A N/A N/A N/A object_names append data N/A path_part attribute_container_path N/A N/A N/A path_part OBJECTS N/A N/A N/A N/A object_names append path_part N/A N/A path_part ARRAYS N/A N/A N/A N/A object_names append path_part N/A N/A N/A object_names append N/A path_part N/A -1 N/A N/A tuple object_names N/A get_role N/A N/A object_name attribute value parent_object_names N/A None N/A N/A N/A 
    Values have types associated with them based on graph_reference.

    'data' type values are always kept
    'style' values are kept if they're sequences (but not strings)

    :param (str) object_name: The name of the object containing 'attribute'.
    :param (str) attribute: The attribute we want the `role` of.
    :param (*) value: If the value is an array, the return can be different.
    :param parent_object_names: An iterable of obj names from graph reference.
    :returns: (str) This will be 'data', 'style', or 'info'.

     N/A N/A N/A object_name TRACE_NAMES N/A attribute type N/A N/A info N/A attributes_dicts N/A get_attributes_dicts object_name parent_object_names N/A matches N/A N/A attributes_dict N/A N/A attributes_dicts values N/A N/A N/A key val N/A N/A attributes_dict items N/A N/A N/A key attribute N/A N/A N/A N/A matches append val N/A N/A key val N/A N/A N/A N/A attributes_dict get _deprecated N/A items N/A N/A N/A key attribute N/A N/A N/A N/A matches append val N/A roles N/A N/A match matches N/A N/A role N/A match N/A role N/A array_ok N/A N/A match get arrayOk N/A N/A N/A value None array_ok N/A N/A iterable N/A hasattr value __iter__ N/A stringy N/A isinstance value N/A six string_types N/A dicty N/A isinstance value dict N/A N/A iterable N/A stringy N/A dicty N/A N/A role data N/A N/A N/A roles append role N/A N/A data roles N/A N/A role data N/A N/A role N/A roles N/A 0 N/A role N/A _is_valid_sub_path N/A N/A path parent_paths N/A N/A N/A 
    Check if a sub path is valid given an iterable of parent paths.

    :param (tuple[str]) path: The path that may be a sub path.
    :param (list[tuple]) parent_paths: The known parent paths.
    :return: (bool)

    Examples:

        * ('a', 'b', 'c') is a valid subpath of ('a', )
        * ('a', 'd') is not a valid subpath of ('b', )
        * ('a', ) is not a valid subpath of ('a', 'b')
        * ('anything',) is a valid subpath of ()

     N/A N/A parent_paths N/A N/A True N/A parent_path parent_paths N/A N/A N/A N/A path N/A N/A len parent_path parent_path N/A N/A True N/A False N/A _get_objects N/A N/A N/A N/A N/A 
    Create a reorganization of graph reference which organizes by object name.

    Each object can have *many* different definitions in the graph reference.
    These possibilities get narrowed down when we have contextual information
    about parent objects. For instance, Marker in Scatter has a different
    definition than Marker in Pie. However, we need Marker, Scatter, and Pie
    to exist on their own as well.

    Each value has the form:
    {
        'meta_paths': [],
        'attribute_paths': [],
        'additional_attributes': {}
    }

    * meta_paths describes the top-most path where this object is defined
    * attribute_paths describes all the locations where attributes exist
    * additional_attributes can be used to hard-code (patch) the plot schema

    :return: (dict)

     N/A objects N/A N/A N/A node path N/A N/A utils node_generator GRAPH_REFERENCE N/A N/A N/A any N/A N/A key path N/A key N/A N/A GRAPH_REFERENCE N/A defs N/A metaKeys N/A N/A N/A N/A N/A N/A node get role object N/A N/A N/A N/A items node N/A N/A N/A object_name N/A path N/A -1 N/A N/A object_name objects N/A N/A N/A objects N/A object_name N/A meta_paths attribute_paths additional_attributes N/A N/A N/A N/A N/A N/A node get attributes N/A N/A N/A N/A N/A N/A objects N/A object_name N/A attribute_paths append N/A path N/A attributes N/A N/A N/A N/A N/A N/A objects N/A object_name N/A attribute_paths append path N/A N/A N/A N/A N/A objects N/A object_name N/A meta_paths append path N/A objects N/A _patch_objects N/A N/A N/A N/A N/A Things like Layout, Figure, and Data need to be included. N/A layout_attribute_paths N/A N/A N/A node path N/A N/A utils node_generator GRAPH_REFERENCE N/A N/A N/A any N/A N/A key path N/A key N/A N/A GRAPH_REFERENCE N/A defs N/A metaKeys N/A N/A N/A N/A path N/A N/A path N/A -1 layoutAttributes N/A N/A N/A N/A layout_attribute_paths append path N/A trace_name TRACE_NAMES N/A N/A N/A OBJECTS N/A trace_name N/A meta_paths attribute_paths additional_attributes N/A N/A traces trace_name N/A N/A traces trace_name attributes N/A N/A N/A OBJECTS N/A layout N/A meta_paths attribute_paths additional_attributes N/A N/A layout layout_attribute_paths N/A N/A figure_attributes N/A layout data N/A role object N/A role _isLinkedToArray object True N/A N/A OBJECTS N/A figure N/A meta_paths attribute_paths additional_attributes N/A N/A figure_attributes N/A _get_arrays N/A N/A N/A N/A N/A Very few arrays, but this dict is the complement of OBJECTS. N/A arrays N/A N/A N/A node path N/A N/A utils node_generator GRAPH_REFERENCE N/A N/A N/A any N/A N/A key path N/A key N/A N/A GRAPH_REFERENCE N/A defs N/A metaKeys N/A N/A N/A N/A N/A N/A node get role object N/A N/A N/A N/A items node N/A N/A N/A object_name N/A path N/A -1 N/A N/A object_name arrays N/A N/A items N/A node N/A items N/A N/A isinstance items dict N/A N/A item_names N/A list N/A N/A items keys N/A N/A item_names N/A N/A object_name N/A -1 N/A N/A arrays N/A object_name N/A meta_paths items N/A path item_names N/A arrays N/A _patch_arrays N/A N/A N/A N/A N/A Adds information on our eventual Data array. N/A N/A ARRAYS N/A data N/A meta_paths items N/A N/A traces N/A list TRACE_NAMES N/A _get_classes N/A N/A N/A N/A N/A 
    We eventually make classes out of the objects in GRAPH_REFERENCE.

    :return: (dict) A mapping of class names to object names.

     N/A classes N/A N/A N/A class_name class_dict N/A N/A _BACKWARDS_COMPAT_CLASS_NAMES items N/A N/A object_name N/A class_dict N/A object_name N/A base_type N/A class_dict N/A base_type N/A N/A N/A object_name OBJECTS N/A object_name ARRAYS N/A N/A N/A classes N/A class_name N/A object_name base_type object_name base_type N/A N/A N/A classes N/A class_name N/A object_name base_type None base_type N/A object_name TRACE_NAMES N/A N/A class_name N/A string_to_class_name object_name N/A N/A classes N/A class_name N/A object_name base_type object_name dict N/A classes N/A N/A GRAPH_REFERENCE N/A get_graph_reference N/A TRACE_NAMES N/A list N/A N/A N/A GRAPH_REFERENCE N/A traces keys N/A OBJECTS N/A _get_objects N/A N/A _patch_objects N/A ARRAYS N/A _get_arrays N/A N/A _patch_arrays N/A CLASSES N/A _get_classes N/A OBJECT_NAME_TO_CLASS_NAME N/A N/A class_dict N/A object_name class_name N/A N/A class_name class_dict N/A N/A CLASSES items N/A N/A class_dict N/A object_name None