Python Figure Reference: scattergl Traces
plotly.graph_objects.Scattergl trace is a graph object in the figure's data list with any of the named arguments or attributes listed below. The data visualized as scatter point or lines is set in `x` and `y` using the WebGL plotting engine. Bubble charts are achieved by setting `marker.size` and/or `marker.color` to a numerical arrays.
- name
Code:fig.update_traces(name=<VALUE>, selector=dict(type='scattergl'))
Type: stringSets the trace name. The trace name appears as the legend item and on hover.
- visible
Code:fig.update_traces(visible=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of (True|False|"legendonly")
Default:TrueDetermines whether or not this trace is visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible).
- showlegend
Code:fig.update_traces(showlegend=<VALUE>, selector=dict(type='scattergl'))
Type: boolean
Default:TrueDetermines whether or not an item corresponding to this trace is shown in the legend.
- legend
Code:fig.update_traces(legend=<VALUE>, selector=dict(type='scattergl'))
Type: subplotid
Default:legendSets the reference to a legend to show this trace in. References to these legends are "legend", "legend2", "legend3", etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc.
- legendrank
Code:fig.update_traces(legendrank=<VALUE>, selector=dict(type='scattergl'))
Type: number
Default:1000Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they are on bottom/right side. The default legendrank is 1000, so that you can use ranks less than 1000 to place certain items before all unranked items, and ranks greater than 1000 to go after all unranked items. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout.
- legendgroup
Code:fig.update_traces(legendgroup=<VALUE>, selector=dict(type='scattergl'))
Type: string
Default:""Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items.
- legendgrouptitle
Code:fig.update_traces(legendgrouptitle=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.- font
Code:fig.update_traces(legendgrouptitle_font=dict(...), selector=dict(type='scattergl'))
Type: dict containing one or more of the keys listed below.Sets this legend group's title font.
- color
Code:fig.update_traces(legendgrouptitle_font_color=<VALUE>, selector=dict(type='scattergl'))
Type: color - family
Code:fig.update_traces(legendgrouptitle_font_family=<VALUE>, selector=dict(type='scattergl'))
Type: stringHTML font family - the typeface that will be applied by the web browser. The web browser can only apply a font if it is available on the system where it runs. Provide multiple font families, separated by commas, to indicate the order in which to apply fonts if they aren't available.
- lineposition
Code:fig.update_traces(legendgrouptitle_font_lineposition=<VALUE>, selector=dict(type='scattergl'))
Type: flaglist string. Any combination of"under","over","through"joined with a"+"OR"none".
Examples:"under","over","under+over","under+over+through","none"
Default:"none"Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.
- shadow
Code:fig.update_traces(legendgrouptitle_font_shadow=<VALUE>, selector=dict(type='scattergl'))
Type: string
Default:"none"Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.
- size
Code:fig.update_traces(legendgrouptitle_font_size=<VALUE>, selector=dict(type='scattergl'))
Type: number greater than or equal to 1 - style
Code:fig.update_traces(legendgrouptitle_font_style=<VALUE>, selector=dict(type='scattergl'))
Type: enumerated , one of ("normal"|"italic")
Default:"normal"Sets whether a font should be styled with a normal or italic face from its family.
- color
- font