![]() ![]() Of the template and only if missing from there will the JavaScript layer infer further defaults. Key is present (as it is by default) then default values will be drawn first from the contents Python-side validation for attribute values. Or malformed values, although the aph_objects module provides The JavaScript layer will ignore unknown attributes Which may be specified explicitly, but if not will be computed based on the range of x values forĮvery trace linked to that axis. At render-time, the JavaScript layer will compute default valuesįor each required unspecified attribute, depending upon the ones that are specified,Īs documented in this page. When building a figure, it is not necessary to populate every attribute fig.update_layout(title_font_family="Open Sans") ![]() family="Open Sans"Īnd "magic underscores" e.g. When manipulatingĪ aph_objects.Figure object, attributes can be set either directly Finally, as explained below, the top-level "data"Īttribute defines a list of typed objects called "traces" with the schema dependent upon the type,Īnd these attributes' paths are listed in this page as Than a dict, a set of brackets is inserted in the path when referring to the attribute in the abstract,Į.g. The value associated with a key "layout" at the root of the figure. the dot-delimited concatenation of their parents.įor example "layout.width" refers to the attribute whose key is "width" inside a dict which is The root node of the tree has three top-level attributes: data, layout and frames.Īttributes are referred to in text and in this page by their full "path" i.e. Machine-readable Plotly.js schema reference.įigures are represented as trees with named nodes called "attributes". This page is the exhaustive reference for all of the attributes in the core figure data structure Single-Page Reference Python Figure Reference: Single-Page ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |