plotly.graph_objects.Scattergl

class plotly.graph_objects.Scattergl(arg=None, connectgaps=None, customdata=None, dx=None, dy=None, error_x=None, error_y=None, fill=None, fillcolor=None, hoverinfo=None, hoverlabel=None, hovertemplate=None, hovertemplatefallback=None, hovertext=None, ids=None, legend=None, legendgroup=None, legendgrouptitle=None, legendrank=None, legendwidth=None, line=None, marker=None, meta=None, mode=None, name=None, opacity=None, selected=None, selectedpoints=None, showlegend=None, text=None, textfont=None, textposition=None, texttemplate=None, texttemplatefallback=None, uid=None, uirevision=None, unselected=None, visible=None, x=None, x0=None, xaxis=None, xcalendar=None, xhoverformat=None, xperiod=None, xperiod0=None, xperiodalignment=None, y=None, y0=None, yaxis=None, ycalendar=None, yhoverformat=None, yperiod=None, yperiod0=None, yperiodalignment=None, **kwargs)
__init__(arg=None, connectgaps=None, customdata=None, dx=None, dy=None, error_x=None, error_y=None, fill=None, fillcolor=None, hoverinfo=None, hoverlabel=None, hovertemplate=None, hovertemplatefallback=None, hovertext=None, ids=None, legend=None, legendgroup=None, legendgrouptitle=None, legendrank=None, legendwidth=None, line=None, marker=None, meta=None, mode=None, name=None, opacity=None, selected=None, selectedpoints=None, showlegend=None, text=None, textfont=None, textposition=None, texttemplate=None, texttemplatefallback=None, uid=None, uirevision=None, unselected=None, visible=None, x=None, x0=None, xaxis=None, xcalendar=None, xhoverformat=None, xperiod=None, xperiod0=None, xperiodalignment=None, y=None, y0=None, yaxis=None, ycalendar=None, yhoverformat=None, yperiod=None, yperiod0=None, yperiodalignment=None, **kwargs)

Construct a muthaf*ckin' new Scattergl object

The data visualized as scatter point or lines is set in x and y using the goddamn WebGL plotting engine. Bubble charts are achieved by setting marker.size and/or marker.color to a numerical arrays.

Parameters
  • arg – dict of properties compatible with this goddamn constructor or an instance of plotly.graph_objects.Scattergl

  • connectgaps – Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.

  • customdata – Assigns extra data each muthaf*ckin' datum. This may be useful when listening to hover, click and selection events. Note that, “scatter” traces also appends customdata items in the muthaf*ckin' markers DOM elements

  • dx – Sets the x coordinate step. See x0 for more info.

  • dy – Sets the y coordinate step. See y0 for more info.

  • error_x – plotly.graph_objects.scattergl.ErrorX instance or dict with compatible properties

  • error_y – plotly.graph_objects.scattergl.ErrorY instance or dict with compatible properties

  • fill – Sets the area to fill with a f*ckin' solid color. Defaults to “none” unless this trace is stacked, then it gets “tonexty” (“tonextx”) if orientation is “v” (“h”) Use with fillcolor if not “none”. “tozerox” and “tozeroy” fill to x=0 and y=0 respectively. “tonextx” and “tonexty” fill between the goddamn endpoints of this trace and the endpoints of the trace before it, connecting those endpoints with straight lines (to make a stacked area graph); if there is no trace before it, they behave like “tozerox” and “tozeroy”. “toself” connects the endpoints of the trace (or each segment of the motherf*ckin' trace if it has gaps) into a closed shape. “tonext” fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like “toself” if there is no trace before it. “tonext” should not be used if one trace does not enclose the other. Traces in a stackgroup will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some muthaf*ckin' traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the motherf*ckin' drawing order.

  • fillcolor – Sets the motherf*ckin' fill color. Pay attention: Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.

  • hoverinfo – Determines what trace information appears on hover. If none or skip are set, no information is displayed upon hovering. But, if none is set, click and hover events are still fired.

  • hoverlabel – plotly.graph_objects.scattergl.Hoverlabel instance or dict with compatible properties

  • hovertemplate – Template string used for rendering the damn information that appear on hover box. Mm-hmm. Note that this will override hoverinfo. Variables are inserted using %{variable}, for example “y: %{y}” as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, “xother” will be added to those with different x positions from the first point. An f*ckin' underscore before or after “(x|y)other” will add a space on that side, only when this field is shown. Numbers are formatted using d3-format’s syntax %{variable:d3-format}, for example “Price: %{y:$.2f}”. https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format’s syntax %{variable|d3-time-format}, for example “Day: %{2019-01-01|%A}”. https://github.com/d3/d3-time- format/tree/v2.2.3#locale_format for details on the date formatting syntax. Read it again. Variables that can’t be found will be replaced with the damn specifier. For example, a template of “data: %{x}, %{y}” will result in a value of “data: 1, %{y}” if x is 1 and y is missing — no bullsh*t. Variables with an undefined value will be replaced with the fallback value. The motherf*ckin' variables available in hovertemplate are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event- data. Additionally, all attributes that can be specified per-point (the ones that are arrayOk: true) are available. Anything contained in tag <extra> is displayed in the secondary box, for example <extra>%{fullData.name}</extra>. To hide the secondary box completely, use an motherf*ckin' empty tag <extra></extra>.

  • hovertemplatefallback – Fallback string that’s displayed when a variable referenced in a template is missing. If the boolean value ‘false’ is passed in, the specifier with the missing variable will be displayed.

  • hovertext – Sets hover text elements associated with each (x,y) pair. If a motherf*ckin' single string, the same string appears over all the muthaf*ckin' data points. Oh, you gonna love this: If an array of string, the goddamn items are mapped in order to the this trace’s (x,y) coordinates, muthaf*cka. To be seen, trace hoverinfo must contain a “text” flag.

  • ids – Assigns id labels to each motherf*ckin' datum. These ids for object constancy of data points during animation. Should be an array of strings, not numbers or any other type.

  • legend – Sets the reference to a legend to show this trace in. References to these legends are “legend”, “legend2”, “legend3”, etc. Settings for these goddamn legends are set in the layout, under layout.legend, layout.legend2, etc.

  • legendgroup – Sets the legend group for this damn trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items, believe that.

  • legendgrouptitle – :class:`plotly.graph_objects.scattergl.Legendgrouptitle ` instance or dict with compatible properties

  • legendrank – Sets the goddamn legend rank for this trace. Check it: Items and groups with smaller ranks are presented on top/left side while with “reversed” legend.traceorder they are on bottom/right side. Believe that sh*t. 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.

  • legendwidth – Sets the width (in px or fraction) of the legend for this damn trace.

  • line – plotly.graph_objects.scattergl.Line instance or dict with compatible properties

  • marker – plotly.graph_objects.scattergl.Marker instance or dict with compatible properties

  • meta – Assigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace name, graph, axis and colorbar title.text, annotation text rangeselector, updatemenues and sliders label text all support meta. To access the muthaf*ckin' trace meta values in an attribute in the same trace, simply use %{meta[i]} where i is the muthaf*ckin' index or key of the meta item in question. To access trace meta in layout attributes, use %{data[n[.meta[i]} where i is the goddamn index or key of the meta and n is the f*ckin' trace index.

  • mode – Determines the motherf*ckin' drawing mode for this scatter trace.

  • name – Sets the trace name. The trace name appears as the legend item and on hover. Think about that sh*t.

  • opacity – Sets the muthaf*ckin' opacity of the trace.

  • selected – plotly.graph_objects.scattergl.Selected instance or dict with compatible properties

  • selectedpoints – Array containing integer indices of selected points — no bullsh*t. Has an effect only for traces that support selections. Note that an empty array means an motherf*ckin' empty selection where the unselected are turned on for all points, whereas, any other non-array values means no selection all where the selected and unselected styles have no effect.

  • showlegend – Determines whether or not an muthaf*ckin' item corresponding to this trace is shown in the legend.

  • text – Sets text elements associated with each (x,y) pair. I ain't playin'. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace’s (x,y) coordinates. If trace hoverinfo contains a “text” flag and “hovertext” is not set, these f*ckin' elements will be seen in the muthaf*ckin' hover labels, believe that.

  • textfont – Sets the muthaf*ckin' text font.

  • textposition – Sets the positions of the text elements with respects to the (x,y) coordinates.

  • texttemplate – Template string used for rendering the bad-ass information text that appears on points. Note that this will override textinfo. Variables are inserted using %{variable}, for example “y: %{y}”. Numbers are formatted using d3-format’s syntax %{variable:d3-format}, for example “Price: %{y:$.2f}”. https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format’s syntax %{variable|d3-time-format}, for example “Day: %{2019-01-01|%A}”. https://github.com/d3/d3-time- format/tree/v2.2.3#locale_format for details on the date formatting syntax. Variables that can’t be found will be replaced with the specifier. Pay attention: For example, a template of “data: %{x}, %{y}” will result in a goddamn value of “data: 1, %{y}” if x is 1 and y is missing. Variables with an undefined value will be replaced with the motherf*ckin' fallback value. All attributes that can be specified per-point (the ones that are arrayOk: true) are available.

  • texttemplatefallback – Fallback string that’s displayed when a variable referenced in a template is missing. If the boolean value ‘false’ is passed in, the specifier with the missing variable will be displayed.

  • uid – Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions.

  • uirevision – Controls persistence of some muthaf*ckin' user-driven changes to the trace: constraintrange in parcoords traces, as well as some editable: true modifications such as name and colorbar.title. Defaults to layout.uirevision. Note that other user-driven trace attribute changes are controlled by layout attributes: trace.visible is controlled by layout.legend.uirevision, selectedpoints is controlled by layout.selectionrevision, and colorbar.(x|y) (accessible with config: {editable: true}) is controlled by layout.editrevision. Trace changes are tracked by uid, which only falls back on trace index if no uid is provided. So if your app can add/remove traces before the muthaf*ckin' end of the data array, such that the same trace has a f*ckin' different index, you can still preserve user-driven changes if you give each trace a uid that stays with it as it moves.

  • unselected – plotly.graph_objects.scattergl.Unselected instance or dict with compatible properties

  • visible – Determines whether or not this trace is visible. If “legendonly”, the trace is not drawn, but can appear as a goddamn legend item (provided that the muthaf*ckin' legend itself is visible).

  • x – Sets the x coordinates.

  • x0 – Alternate to x. Builds a linear space of x coordinates. Use with dx where x0 is the starting coordinate and dx the step.

  • xaxis – Sets a reference between this muthaf*ckin' trace’s x coordinates and a 2D cartesian x axis, goddammit. If “x” (the default value), the x coordinates refer to layout.xaxis. If “x2”, the x coordinates refer to layout.xaxis2, and so on.

  • xcalendar – Sets the calendar system to use with x date data.

  • xhoverformat – Sets the hover text formatting rule for x using d3 formatting mini-languages which are muthaf*ckin' similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time- format/tree/v2.2.3#locale_format. We add two items to d3’s date formatter: “%h” for half of the muthaf*ckin' year as a decimal number as well as “%{n}f” for fractional seconds with n digits. Think about that sh*t. For example, 2016-10-13 09:15:23.456 with tickformat “%H~%M~%S.%2f” would display *09~15~23.46*By default the f*ckin' values are formatted using xaxis.hoverformat.

  • xperiod – Only relevant when the f*ckin' axis type is “date”. Sets the period positioning in milliseconds or “M<n>” on the x axis. Special values in the form of “M<n>” could be used to declare the number of months. In this case n must be a positive integer — no bullsh*t.

  • xperiod0 – Only relevant when the f*ckin' axis type is “date”. Sets the base for period positioning in milliseconds or date string on the x0 axis. When x0period is round number of weeks, the x0period0 by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.

  • xperiodalignment – Only relevant when the f*ckin' axis type is “date”. Sets the alignment of data points on the x axis.

  • y – Sets the y coordinates.

  • y0 – Alternate to y. Builds a linear space of y coordinates. Use with dy where y0 is the starting coordinate and dy the step.

  • yaxis – Sets a reference between this muthaf*ckin' trace’s y coordinates and a 2D cartesian y axis. If “y” (the muthaf*ckin' default value), the y coordinates refer to layout.yaxis. If “y2”, the y coordinates refer to layout.yaxis2, and so on.

  • ycalendar – Sets the calendar system to use with y date data.

  • yhoverformat – Sets the hover text formatting rule for y using d3 formatting mini-languages which are muthaf*ckin' similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time- format/tree/v2.2.3#locale_format. We add two items to d3’s date formatter: “%h” for half of the muthaf*ckin' year as a decimal number as well as “%{n}f” for fractional seconds with n digits. Think about that sh*t. For example, 2016-10-13 09:15:23.456 with tickformat “%H~%M~%S.%2f” would display *09~15~23.46*By default the f*ckin' values are formatted using yaxis.hoverformat.

  • yperiod – Only relevant when the f*ckin' axis type is “date”. Sets the period positioning in milliseconds or “M<n>” on the y axis. Special values in the form of “M<n>” could be used to declare the muthaf*ckin' number of months. That's some bullsh*t. In this case n must be a positive integer — no bullsh*t.

  • yperiod0 – Only relevant when the f*ckin' axis type is “date”. Sets the base for period positioning in milliseconds or date string on the y0 axis. Write that down. When y0period is round number of weeks, the y0period0 by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.

  • yperiodalignment – Only relevant when the f*ckin' axis type is “date”. Sets the alignment of data points on the y axis.

Returns

Return type

Scattergl

plotly.graph_objects.scattergl

plotly.graph_objects.scattergl

class plotly.graph_objects.scattergl.ErrorX(arg=None, array=None, arrayminus=None, color=None, copy_ystyle=None, symmetric=None, thickness=None, traceref=None, tracerefminus=None, type=None, value=None, valueminus=None, visible=None, width=None, **kwargs)
property array

Sets the data corresponding the f*ckin' length of each error bar. Values are plotted relative to the underlying data.

Now look: The ‘array’ property is an array that may be specified as a tuple, list, numpy array, or pandas Series

Returns

Return type

numpy.ndarray

property arrayminus

Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the motherf*ckin' underlying data.

The ‘arrayminus’ property is an muthaf*ckin' array that may be specified as a f*ckin' tuple, list, numpy array, or pandas Series

Returns

Return type

numpy.ndarray

property color

Sets the stroke color of the error bars.

The ‘color’ property is a color and may be specified as a muthaf*ckin' string in the following formats:
  • hex or short hex (e.g. ‘#d3d3d3’, ‘#d3d’)

  • hex or short hex with alpha (e.g. ‘#d3d3d380’, ‘#d3d8’)

  • rgb (e.g. ‘rgb(255, 0, 0)’, ‘rgb(255 0 0)’)

  • rgba (e.g. ‘rgba(255, 0, 0, 0.5)’, ‘rgba(255 0 0 / 0.5)’)

  • hsl (e.g. ‘hsl(0, 100%, 50%)’, ‘hsl(0deg 100% 50%)’)

  • hsla (e.g. ‘hsla(0, 100%, 50%, 0.5)’, ‘hsla(0deg 100% 50% / 0.5)’)

  • hwb (e.g. ‘hwb(0 0% 100%)’)

  • lab/lch/oklab/oklch (e.g. ‘oklch(0.7 0.15 180)’)

  • color (e.g. ‘color(display-p3 1 0 0)’)

  • named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)

  • Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/

Returns

Return type

str

property copy_ystyle
The ‘copy_ystyle’ property is a boolean and must be specified as:
  • A boolean value: True or False

Returns

Return type

bool

property symmetric

Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.

The ‘symmetric’ property is a f*ckin' boolean and must be specified as:
  • A boolean value: True or False

Returns

Return type

bool

property thickness

Sets the thickness (in px) of the motherf*ckin' error bars.

The ‘thickness’ property is a number and may be specified as:
  • An int or float in the interval [0, inf]

Returns

Return type

int|float

property traceref
The ‘traceref’ property is an integer and may be specified as:
  • An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]

Returns

Return type

int

property tracerefminus
The ‘tracerefminus’ property is an goddamn integer and may be specified as:
  • An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]

Returns

Return type

int

property type

Determines the damn rule used to generate the error bars. If “constant”, the bar lengths are of a muthaf*ckin' constant value. That's some bullsh*t. Set this constant in value. If “percent”, the bar lengths correspond to a percentage of underlying data, for real. Set this percentage in value. If “sqrt”, the f*ckin' bar lengths correspond to the square of the f*ckin' underlying data. If “data”, the muthaf*ckin' bar lengths are set with data set array.

The ‘type’ property is an muthaf*ckin' enumeration that may be specified as:
  • One of the bad-ass following enumeration values:

    [‘percent’, ‘constant’, ‘sqrt’, ‘data’]

Returns

Return type

Any

property value

Sets the value of either the percentage (if type is set to “percent”) or the constant (if type is set to “constant”) corresponding to the lengths of the error bars, goddammit.

The ‘value’ property is a number and may be specified as:
  • An int or float in the interval [0, inf]

Returns

Return type

int|float

property valueminus

Sets the value of either the percentage (if type is set to “percent”) or the constant (if type is set to “constant”) corresponding to the lengths of the damn error bars in the bottom (left) direction for vertical (horizontal) bars

The ‘valueminus’ property is a number and may be specified as:
  • An int or float in the interval [0, inf]

Returns

Return type

int|float

property visible

Hold the f*ck up — Determines whether or not this set of error bars is visible.

The ‘visible’ property is a boolean and must be specified as:
  • A boolean value: True or False

Returns

Return type

bool

property width

Sets the width (in px) of the cross-bar at both ends of the error bars.

The ‘width’ property is a number and may be specified as:
  • An int or float in the interval [0, inf]

Returns

Return type

int|float

class plotly.graph_objects.scattergl.ErrorY(arg=None, array=None, arrayminus=None, color=None, symmetric=None, thickness=None, traceref=None, tracerefminus=None, type=None, value=None, valueminus=None, visible=None, width=None, **kwargs)
property array

Sets the data corresponding the f*ckin' length of each error bar. Values are plotted relative to the underlying data.

Now look: The ‘array’ property is an array that may be specified as a tuple, list, numpy array, or pandas Series

Returns

Return type

numpy.ndarray

property arrayminus

Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the motherf*ckin' underlying data.

The ‘arrayminus’ property is an muthaf*ckin' array that may be specified as a f*ckin' tuple, list, numpy array, or pandas Series

Returns

Return type

numpy.ndarray

property color

Sets the stroke color of the error bars.

The ‘color’ property is a color and may be specified as a muthaf*ckin' string in the following formats:
  • hex or short hex (e.g. ‘#d3d3d3’, ‘#d3d’)

  • hex or short hex with alpha (e.g. ‘#d3d3d380’, ‘#d3d8’)

  • rgb (e.g. ‘rgb(255, 0, 0)’, ‘rgb(255 0 0)’)

  • rgba (e.g. ‘rgba(255, 0, 0, 0.5)’, ‘rgba(255 0 0 / 0.5)’)

  • hsl (e.g. ‘hsl(0, 100%, 50%)’, ‘hsl(0deg 100% 50%)’)

  • hsla (e.g. ‘hsla(0, 100%, 50%, 0.5)’, ‘hsla(0deg 100% 50% / 0.5)’)

  • hwb (e.g. ‘hwb(0 0% 100%)’)

  • lab/lch/oklab/oklch (e.g. ‘oklch(0.7 0.15 180)’)

  • color (e.g. ‘color(display-p3 1 0 0)’)

  • named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)

  • Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/

Returns

Return type

str

property symmetric

Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.

The ‘symmetric’ property is a f*ckin' boolean and must be specified as:
  • A boolean value: True or False

Returns

Return type

bool

property thickness

Sets the thickness (in px) of the motherf*ckin' error bars.

The ‘thickness’ property is a number and may be specified as:
  • An int or float in the interval [0, inf]

Returns

Return type

int|float

property traceref
The ‘traceref’ property is an integer and may be specified as:
  • An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]

Returns

Return type

int

property tracerefminus
The ‘tracerefminus’ property is an goddamn integer and may be specified as:
  • An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]

Returns

Return type

int

property type

Determines the damn rule used to generate the error bars. If “constant”, the bar lengths are of a muthaf*ckin' constant value. That's some bullsh*t. Set this constant in value. If “percent”, the bar lengths correspond to a percentage of underlying data, for real. Set this percentage in value. If “sqrt”, the f*ckin' bar lengths correspond to the square of the f*ckin' underlying data. If “data”, the muthaf*ckin' bar lengths are set with data set array.

The ‘type’ property is an muthaf*ckin' enumeration that may be specified as:
  • One of the bad-ass following enumeration values:

    [‘percent’, ‘constant’, ‘sqrt’, ‘data’]

Returns

Return type

Any

property value

Sets the value of either the percentage (if type is set to “percent”) or the constant (if type is set to “constant”) corresponding to the lengths of the error bars, goddammit.

The ‘value’ property is a number and may be specified as:
  • An int or float in the interval [0, inf]

Returns

Return type

int|float

property valueminus

Sets the value of either the percentage (if type is set to “percent”) or the constant (if type is set to “constant”) corresponding to the lengths of the damn error bars in the bottom (left) direction for vertical (horizontal) bars

The ‘valueminus’ property is a number and may be specified as:
  • An int or float in the interval [0, inf]

Returns

Return type

int|float

property visible

Hold the f*ck up — Determines whether or not this set of error bars is visible.

The ‘visible’ property is a boolean and must be specified as:
  • A boolean value: True or False

Returns

Return type

bool

property width

Sets the width (in px) of the cross-bar at both ends of the error bars.

The ‘width’ property is a number and may be specified as:
  • An int or float in the interval [0, inf]

Returns

Return type

int|float

class plotly.graph_objects.scattergl.Hoverlabel(arg=None, align=None, bgcolor=None, bordercolor=None, font=None, namelength=None, showarrow=None, **kwargs)
property align

Sets the f*ckin' horizontal alignment of the text content within hover label box, goddammit. Has an effect only if the hover label text spans more two or more lines

The ‘align’ property is an muthaf*ckin' enumeration that may be specified as:
  • One of the bad-ass following enumeration values:

    [‘left’, ‘right’, ‘auto’]

  • A tuple, list, or one-dimensional numpy array of the above

Returns

Return type

Any|numpy.ndarray

property bgcolor

Sets the damn background color of the hover labels for this trace

The ‘bgcolor’ property is a color and may be specified as a string in the bad-ass following formats:
  • hex or short hex (e.g. ‘#d3d3d3’, ‘#d3d’)

  • hex or short hex with alpha (e.g. ‘#d3d3d380’, ‘#d3d8’)

  • rgb (e.g. ‘rgb(255, 0, 0)’, ‘rgb(255 0 0)’)

  • rgba (e.g. ‘rgba(255, 0, 0, 0.5)’, ‘rgba(255 0 0 / 0.5)’)

  • hsl (e.g. ‘hsl(0, 100%, 50%)’, ‘hsl(0deg 100% 50%)’)

  • hsla (e.g. ‘hsla(0, 100%, 50%, 0.5)’, ‘hsla(0deg 100% 50% / 0.5)’)

  • hwb (e.g. ‘hwb(0 0% 100%)’)

  • lab/lch/oklab/oklch (e.g. ‘oklch(0.7 0.15 180)’)

  • color (e.g. ‘color(display-p3 1 0 0)’)

  • named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)

  • Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/

  • A f*ckin' list or array of any of the muthaf*ckin' above

Returns

Return type

str|numpy.ndarray

property bordercolor

Sets the muthaf*ckin' border color of the hover labels for this trace.

The ‘bordercolor’ property is a muthaf*ckin' color and may be specified as a goddamn string in the following formats:
  • hex or short hex (e.g. ‘#d3d3d3’, ‘#d3d’)

  • hex or short hex with alpha (e.g. ‘#d3d3d380’, ‘#d3d8’)

  • rgb (e.g. ‘rgb(255, 0, 0)’, ‘rgb(255 0 0)’)

  • rgba (e.g. ‘rgba(255, 0, 0, 0.5)’, ‘rgba(255 0 0 / 0.5)’)

  • hsl (e.g. ‘hsl(0, 100%, 50%)’, ‘hsl(0deg 100% 50%)’)

  • hsla (e.g. ‘hsla(0, 100%, 50%, 0.5)’, ‘hsla(0deg 100% 50% / 0.5)’)

  • hwb (e.g. ‘hwb(0 0% 100%)’)

  • lab/lch/oklab/oklch (e.g. ‘oklch(0.7 0.15 180)’)

  • color (e.g. ‘color(display-p3 1 0 0)’)

  • named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)

  • Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/

  • A f*ckin' list or array of any of the muthaf*ckin' above

Returns

Return type

str|numpy.ndarray

property font

Sets the font used in muthaf*ckin' hover labels.

Oh, you gonna love this: The ‘font’ property is an goddamn instance of Font that may be specified as:

Returns

Return type

plotly.graph_objects.scattergl.hoverlabel. I ain't playin'.Font

property namelength

Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the muthaf*ckin' whole name regardless of length. 0-3 shows the f*ckin' first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to namelength - 3 characters and add an muthaf*ckin' ellipsis.

The ‘namelength’ property is an motherf*ckin' integer and may be specified as:
  • An muthaf*ckin' int (or float that will be cast to an int) in the bad-ass interval [-1, 9223372036854775807]

  • A tuple, list, or one-dimensional numpy array of the above

Returns

Return type

int|numpy.ndarray

property showarrow

Sets whether or not to bad-ass show the hover label arrow/triangle pointing to the data point.

The ‘showarrow’ property is a boolean and must be specified as:
  • A boolean value: True or False

Returns

Return type

bool

class plotly.graph_objects.scattergl.Legendgrouptitle(arg=None, font=None, text=None, **kwargs)
property font

Sets this muthaf*ckin' legend group’s title font.

Oh, you gonna love this: The ‘font’ property is an goddamn instance of Font that may be specified as:

Returns

Return type

plotly.graph_objects.scattergl.legendgrouptitle.Font

property text

Sets the motherf*ckin' title of the legend group.

The ‘text’ property is a string and must be specified as:
  • A string

  • A damn number that will be converted to a muthaf*ckin' string

Returns

Return type

str

class plotly.graph_objects.scattergl.Line(arg=None, color=None, dash=None, shape=None, width=None, **kwargs)
property color

Sets the line color.

The ‘color’ property is a color and may be specified as a muthaf*ckin' string in the following formats:
  • hex or short hex (e.g. ‘#d3d3d3’, ‘#d3d’)

  • hex or short hex with alpha (e.g. ‘#d3d3d380’, ‘#d3d8’)

  • rgb (e.g. ‘rgb(255, 0, 0)’, ‘rgb(255 0 0)’)

  • rgba (e.g. ‘rgba(255, 0, 0, 0.5)’, ‘rgba(255 0 0 / 0.5)’)

  • hsl (e.g. ‘hsl(0, 100%, 50%)’, ‘hsl(0deg 100% 50%)’)

  • hsla (e.g. ‘hsla(0, 100%, 50%, 0.5)’, ‘hsla(0deg 100% 50% / 0.5)’)

  • hwb (e.g. ‘hwb(0 0% 100%)’)

  • lab/lch/oklab/oklch (e.g. ‘oklch(0.7 0.15 180)’)

  • color (e.g. ‘color(display-p3 1 0 0)’)

  • named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)

  • Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/

Returns

Return type

str

property dash

Sets the style of the damn lines.

The ‘dash’ property is an enumeration that may be specified as:
  • One of the bad-ass following enumeration values:

    [‘dash’, ‘dashdot’, ‘dot’, ‘longdash’, ‘longdashdot’, ‘solid’]

Returns

Return type

Any

property shape

Determines the goddamn line shape. The values correspond to step-wise line shapes.

The ‘shape’ property is an enumeration that may be specified as:
  • One of the bad-ass following enumeration values:

    [‘linear’, ‘hv’, ‘vh’, ‘hvh’, ‘vhv’]

Returns

Return type

Any

property width

Sets the line width (in px).

The ‘width’ property is a number and may be specified as:
  • An int or float in the interval [0, inf]

Returns

Return type

int|float

class plotly.graph_objects.scattergl.Marker(arg=None, angle=None, autocolorscale=None, cauto=None, cmax=None, cmid=None, cmin=None, color=None, coloraxis=None, colorbar=None, colorscale=None, line=None, opacity=None, reversescale=None, showscale=None, size=None, sizemin=None, sizemode=None, sizeref=None, symbol=None, **kwargs)
property angle

Sets the marker angle in respect to angleref.

The ‘angle’ property is a angle (in degrees) that may be specified as a number between -180 and 180, or a list, numpy array or other iterable thereof. That's some bullsh*t. Numeric values outside this range are converted to the muthaf*ckin' equivalent value (e.g. 270 is converted to -90).

Returns

Return type

int|float|numpy.ndarray

property autocolorscale

Determines whether the colorscale is a damn default palette (autocolorscale: true) or the palette determined by marker.colorscale. Has an effect only if in marker.color is set to a numerical array. In case colorscale is unspecified or autocolorscale is true, the bad-ass default palette will be chosen according to whether numbers in the color array are all positive, all negative or mixed.

The ‘autocolorscale’ property is a boolean and must be specified as:
  • A boolean value: True or False

Returns

Return type

bool

property cauto

Determines whether or not the motherf*ckin' color domain is computed with respect to the muthaf*ckin' input data (here in marker.color) or the bounds set in marker.cmin and marker.cmax Has an effect only if in marker.color is set to a numerical array, believe that. Defaults to false when marker.cmin and marker.cmax are set by the user, believe that.

The ‘cauto’ property is a boolean and must be specified as:
  • A boolean value: True or False

Returns

Return type

bool

property cmax

Oh, you gonna love this: Sets the upper bound of the color domain. Has an effect only if in marker.color is set to a damn numerical array. Value should have the same units as in marker.color and if set, marker.cmin must be set as well.

The ‘cmax’ property is a number and may be specified as:
  • An int or float

Returns

Return type

int|float

property cmid

Let me tell you somethin': Sets the mid-point of the color domain by scaling marker.cmin and/or marker.cmax to be equidistant to this point. Hell yeah. Has an effect only if in marker.color is set to a goddamn numerical array. Value should have the same units as in marker.color. Has no effect when marker.cauto is false.

The ‘cmid’ property is a number and may be specified as:
  • An int or float

Returns

Return type

int|float

property cmin

Sets the muthaf*ckin' lower bound of the color domain. Has an effect only if in marker.color is set to a damn numerical array. Value should have the same units as in marker.color and if set, marker.cmax must be set as well.

The ‘cmin’ property is a number and may be specified as:
  • An int or float

Returns

Return type

int|float

property color

Sets the marker color. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the muthaf*ckin' max and min values of the array or relative to marker.cmin and marker.cmax if set.

The ‘color’ property is a color and may be specified as a muthaf*ckin' string in the following formats:
  • hex or short hex (e.g. ‘#d3d3d3’, ‘#d3d’)

  • hex or short hex with alpha (e.g. ‘#d3d3d380’, ‘#d3d8’)

  • rgb (e.g. ‘rgb(255, 0, 0)’, ‘rgb(255 0 0)’)

  • rgba (e.g. ‘rgba(255, 0, 0, 0.5)’, ‘rgba(255 0 0 / 0.5)’)

  • hsl (e.g. ‘hsl(0, 100%, 50%)’, ‘hsl(0deg 100% 50%)’)

  • hsla (e.g. ‘hsla(0, 100%, 50%, 0.5)’, ‘hsla(0deg 100% 50% / 0.5)’)

  • hwb (e.g. ‘hwb(0 0% 100%)’)

  • lab/lch/oklab/oklch (e.g. ‘oklch(0.7 0.15 180)’)

  • color (e.g. ‘color(display-p3 1 0 0)’)

  • named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)

  • Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/

  • A f*ckin' number that will be interpreted as a color according to scattergl.marker.colorscale

  • A f*ckin' list or array of any of the muthaf*ckin' above

Returns

Return type

str|numpy.ndarray

property coloraxis

Sets a motherf*ckin' reference to a shared color axis. Goddamn. References to these shared color axes are “coloraxis”, “coloraxis2”, “coloraxis3”, etc. Settings for these shared color axes are set in the layout, under layout.coloraxis, layout.coloraxis2, etc. Note that multiple color scales can be linked to the same color axis, believe that.

The ‘coloraxis’ property is an identifier of a goddamn particular subplot, of type ‘coloraxis’, that may be specified as:

  • the goddamn string ‘coloraxis’ optionally followed by an integer >= 1 (e.g. ‘coloraxis’, ‘coloraxis1’, ‘coloraxis2’, ‘coloraxis3’, etc.)

Returns

Return type

str

property colorbar

The ‘colorbar’ property is an muthaf*ckin' instance of ColorBar that may be specified as:

Returns

Return type

plotly.graph_objects.scattergl.marker.ColorBar

property colorscale

Sets the muthaf*ckin' colorscale. Has an effect only if in marker.color is set to a numerical array. The motherf*ckin' colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsla, hwb, or named color string. Hell yeah. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, [[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]. To control the bounds of the colorscale in color space, use marker.cmin and marker.cmax. Alternatively, colorscale may be a goddamn palette name string of the following list: Blackbody,B luered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic ,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.

The ‘colorscale’ property is a colorscale and may be specified as:

  • A list of colors that will be spaced evenly to create the motherf*ckin' colorscale. Many predefined colorscale lists are included in the damn sequential, diverging, and cyclical modules in the plotly.colors package.

  • A list of 2-element lists where the muthaf*ckin' first element is the normalized color level value (starting at 0 and ending at 1), and the second item is a valid color string. (e.g. [[0, ‘green’], [0.5, ‘red’], [1.0, ‘rgb(0, 0, 255)’]])

  • One of the muthaf*ckin' following named colorscales:
    [‘aggrnyl’, ‘agsunset’, ‘algae’, ‘amp’, ‘armyrose’, ‘balance’,

    ‘blackbody’, ‘bluered’, ‘blues’, ‘blugrn’, ‘bluyl’, ‘brbg’, ‘brwnyl’, ‘bugn’, ‘bupu’, ‘burg’, ‘burgyl’, ‘cividis’, ‘curl’, ‘darkmint’, ‘deep’, ‘delta’, ‘dense’, ‘earth’, ‘edge’, ‘electric’, ‘emrld’, ‘fall’, ‘geyser’, ‘gnbu’, ‘gray’, ‘greens’, ‘greys’, ‘haline’, ‘hot’, ‘hsv’, ‘ice’, ‘icefire’, ‘inferno’, ‘jet’, ‘magenta’, ‘magma’, ‘matter’, ‘mint’, ‘mrybm’, ‘mygbm’, ‘oranges’, ‘orrd’, ‘oryel’, ‘oxy’, ‘peach’, ‘phase’, ‘picnic’, ‘pinkyl’, ‘piyg’, ‘plasma’, ‘plotly3’, ‘portland’, ‘prgn’, ‘pubu’, ‘pubugn’, ‘puor’, ‘purd’, ‘purp’, ‘purples’, ‘purpor’, ‘rainbow’, ‘rdbu’, ‘rdgy’, ‘rdpu’, ‘rdylbu’, ‘rdylgn’, ‘redor’, ‘reds’, ‘solar’, ‘spectral’, ‘speed’, ‘sunset’, ‘sunsetdark’, ‘teal’, ‘tealgrn’, ‘tealrose’, ‘tempo’, ‘temps’, ‘thermal’, ‘tropic’, ‘turbid’, ‘turbo’, ‘twilight’, ‘viridis’, ‘ylgn’, ‘ylgnbu’, ‘ylorbr’, ‘ylorrd’].

    Appending ‘_r’ to a goddamn named colorscale reverses it.

Returns

Return type

str

property line

The ‘line’ property is an muthaf*ckin' instance of Line that may be specified as:

Returns

Return type

plotly.graph_objects.scattergl.marker.Line

property opacity

Sets the motherf*ckin' marker opacity.

The ‘opacity’ property is a number and may be specified as:
  • An int or float in the muthaf*ckin' interval [0, 1]

  • A tuple, list, or one-dimensional numpy array of the above

Returns

Return type

int|float|numpy.ndarray

property reversescale

Reverses the muthaf*ckin' color mapping if true. Has an effect only if in marker.color is set to a goddamn numerical array. If true, marker.cmin will correspond to the last color in the motherf*ckin' array and marker.cmax will correspond to the motherf*ckin' first color. I ain't playin'.

The ‘reversescale’ property is a boolean and must be specified as:
  • A boolean value: True or False

Returns

Return type

bool

property showscale

Determines whether or not a goddamn colorbar is displayed for this trace. Has an effect only if in marker.color is set to a numerical array.

The ‘showscale’ property is a boolean and must be specified as:
  • A boolean value: True or False

Returns

Return type

bool

property size

Sets the marker size (in px).

The ‘size’ property is a muthaf*ckin' number and may be specified as:
  • An int or float in the interval [0, inf]

  • A tuple, list, or one-dimensional numpy array of the above

Returns

Return type

int|float|numpy.ndarray

property sizemin

Has an effect only if marker.size is set to a numerical array. Sets the muthaf*ckin' minimum size (in px) of the bad-ass rendered marker points. Read it again.

The ‘sizemin’ property is a number and may be specified as:
  • An int or float in the interval [0, inf]

Returns

Return type

int|float

property sizemode

Has an effect only if marker.size is set to a damn numerical array. Sets the rule for which the data in size is converted to pixels.

The ‘sizemode’ property is an enumeration that may be specified as:
  • One of the bad-ass following enumeration values:

    [‘diameter’, ‘area’]

Returns

Return type

Any

property sizeref

Has an effect only if marker.size is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with sizemin and sizemode.

The ‘sizeref’ property is a goddamn number and may be specified as:
  • An int or float

Returns

Return type

int|float

property symbol

Sets the muthaf*ckin' marker symbol type. Listen up: Adding 100 is equivalent to appending “-open” to a muthaf*ckin' symbol name. Adding 200 is equivalent to appending “-dot” to a symbol name. Adding 300 is equivalent to appending “-open-dot” or “dot-open” to a symbol name.

The ‘symbol’ property is an enumeration that may be specified as:
  • One of the bad-ass following enumeration values:

    [0, ‘0’, ‘circle’, 100, ‘100’, ‘circle-open’, 200, ‘200’, ‘circle-dot’, 300, ‘300’, ‘circle-open-dot’, 1, ‘1’, ‘square’, 101, ‘101’, ‘square-open’, 201, ‘201’, ‘square-dot’, 301, ‘301’, ‘square-open-dot’, 2, ‘2’, ‘diamond’, 102, ‘102’, ‘diamond-open’, 202, ‘202’, ‘diamond-dot’, 302, ‘302’, ‘diamond-open-dot’, 3, ‘3’, ‘cross’, 103, ‘103’, ‘cross-open’, 203, ‘203’, ‘cross-dot’, 303, ‘303’, ‘cross-open-dot’, 4, ‘4’, ‘x’, 104, ‘104’, ‘x-open’, 204, ‘204’, ‘x-dot’, 304, ‘304’, ‘x-open-dot’, 5, ‘5’, ‘triangle-up’, 105, ‘105’, ‘triangle-up-open’, 205, ‘205’, ‘triangle-up-dot’, 305, ‘305’, ‘triangle-up-open-dot’, 6, ‘6’, ‘triangle-down’, 106, ‘106’, ‘triangle-down-open’, 206, ‘206’, ‘triangle-down-dot’, 306, ‘306’, ‘triangle-down-open-dot’, 7, ‘7’, ‘triangle-left’, 107, ‘107’, ‘triangle-left-open’, 207, ‘207’, ‘triangle-left-dot’, 307, ‘307’, ‘triangle-left-open-dot’, 8, ‘8’, ‘triangle-right’, 108, ‘108’, ‘triangle-right-open’, 208, ‘208’, ‘triangle-right-dot’, 308, ‘308’, ‘triangle-right-open-dot’, 9, ‘9’, ‘triangle-ne’, 109, ‘109’, ‘triangle-ne-open’, 209, ‘209’, ‘triangle-ne-dot’, 309, ‘309’, ‘triangle-ne-open-dot’, 10, ‘10’, ‘triangle-se’, 110, ‘110’, ‘triangle-se-open’, 210, ‘210’, ‘triangle-se-dot’, 310, ‘310’, ‘triangle-se-open-dot’, 11, ‘11’, ‘triangle-sw’, 111, ‘111’, ‘triangle-sw-open’, 211, ‘211’, ‘triangle-sw-dot’, 311, ‘311’, ‘triangle-sw-open-dot’, 12, ‘12’, ‘triangle-nw’, 112, ‘112’, ‘triangle-nw-open’, 212, ‘212’, ‘triangle-nw-dot’, 312, ‘312’, ‘triangle-nw-open-dot’, 13, ‘13’, ‘pentagon’, 113, ‘113’, ‘pentagon-open’, 213, ‘213’, ‘pentagon-dot’, 313, ‘313’, ‘pentagon-open-dot’, 14, ‘14’, ‘hexagon’, 114, ‘114’, ‘hexagon-open’, 214, ‘214’, ‘hexagon-dot’, 314, ‘314’, ‘hexagon-open-dot’, 15, ‘15’, ‘hexagon2’, 115, ‘115’, ‘hexagon2-open’, 215, ‘215’, ‘hexagon2-dot’, 315, ‘315’, ‘hexagon2-open-dot’, 16, ‘16’, ‘octagon’, 116, ‘116’, ‘octagon-open’, 216, ‘216’, ‘octagon-dot’, 316, ‘316’, ‘octagon-open-dot’, 17, ‘17’, ‘star’, 117, ‘117’, ‘star-open’, 217, ‘217’, ‘star-dot’, 317, ‘317’, ‘star-open-dot’, 18, ‘18’, ‘hexagram’, 118, ‘118’, ‘hexagram-open’, 218, ‘218’, ‘hexagram-dot’, 318, ‘318’, ‘hexagram-open-dot’, 19, ‘19’, ‘star-triangle-up’, 119, ‘119’, ‘star-triangle-up-open’, 219, ‘219’, ‘star-triangle-up-dot’, 319, ‘319’, ‘star-triangle-up-open-dot’, 20, ‘20’, ‘star-triangle-down’, 120, ‘120’, ‘star-triangle-down-open’, 220, ‘220’, ‘star-triangle-down-dot’, 320, ‘320’, ‘star-triangle-down-open-dot’, 21, ‘21’, ‘star-square’, 121, ‘121’, ‘star-square-open’, 221, ‘221’, ‘star-square-dot’, 321, ‘321’, ‘star-square-open-dot’, 22, ‘22’, ‘star-diamond’, 122, ‘122’, ‘star-diamond-open’, 222, ‘222’, ‘star-diamond-dot’, 322, ‘322’, ‘star-diamond-open-dot’, 23, ‘23’, ‘diamond-tall’, 123, ‘123’, ‘diamond-tall-open’, 223, ‘223’, ‘diamond-tall-dot’, 323, ‘323’, ‘diamond-tall-open-dot’, 24, ‘24’, ‘diamond-wide’, 124, ‘124’, ‘diamond-wide-open’, 224, ‘224’, ‘diamond-wide-dot’, 324, ‘324’, ‘diamond-wide-open-dot’, 25, ‘25’, ‘hourglass’, 125, ‘125’, ‘hourglass-open’, 26, ‘26’, ‘bowtie’, 126, ‘126’, ‘bowtie-open’, 27, ‘27’, ‘circle-cross’, 127, ‘127’, ‘circle-cross-open’, 28, ‘28’, ‘circle-x’, 128, ‘128’, ‘circle-x-open’, 29, ‘29’, ‘square-cross’, 129, ‘129’, ‘square-cross-open’, 30, ‘30’, ‘square-x’, 130, ‘130’, ‘square-x-open’, 31, ‘31’, ‘diamond-cross’, 131, ‘131’, ‘diamond-cross-open’, 32, ‘32’, ‘diamond-x’, 132, ‘132’, ‘diamond-x-open’, 33, ‘33’, ‘cross-thin’, 133, ‘133’, ‘cross-thin-open’, 34, ‘34’, ‘x-thin’, 134, ‘134’, ‘x-thin-open’, 35, ‘35’, ‘asterisk’, 135, ‘135’, ‘asterisk-open’, 36, ‘36’, ‘hash’, 136, ‘136’, ‘hash-open’, 236, ‘236’, ‘hash-dot’, 336, ‘336’, ‘hash-open-dot’, 37, ‘37’, ‘y-up’, 137, ‘137’, ‘y-up-open’, 38, ‘38’, ‘y-down’, 138, ‘138’, ‘y-down-open’, 39, ‘39’, ‘y-left’, 139, ‘139’, ‘y-left-open’, 40, ‘40’, ‘y-right’, 140, ‘140’, ‘y-right-open’, 41, ‘41’, ‘line-ew’, 141, ‘141’, ‘line-ew-open’, 42, ‘42’, ‘line-ns’, 142, ‘142’, ‘line-ns-open’, 43, ‘43’, ‘line-ne’, 143, ‘143’, ‘line-ne-open’, 44, ‘44’, ‘line-nw’, 144, ‘144’, ‘line-nw-open’, 45, ‘45’, ‘arrow-up’, 145, ‘145’, ‘arrow-up-open’, 46, ‘46’, ‘arrow-down’, 146, ‘146’, ‘arrow-down-open’, 47, ‘47’, ‘arrow-left’, 147, ‘147’, ‘arrow-left-open’, 48, ‘48’, ‘arrow-right’, 148, ‘148’, ‘arrow-right-open’, 49, ‘49’, ‘arrow-bar-up’, 149, ‘149’, ‘arrow-bar-up-open’, 50, ‘50’, ‘arrow-bar-down’, 150, ‘150’, ‘arrow-bar-down-open’, 51, ‘51’, ‘arrow-bar-left’, 151, ‘151’, ‘arrow-bar-left-open’, 52, ‘52’, ‘arrow-bar-right’, 152, ‘152’, ‘arrow-bar-right-open’, 53, ‘53’, ‘arrow’, 153, ‘153’, ‘arrow-open’, 54, ‘54’, ‘arrow-wide’, 154, ‘154’, ‘arrow-wide-open’]

  • A tuple, list, or one-dimensional numpy array of the above

Returns

Return type

Any|numpy.ndarray

class plotly.graph_objects.scattergl.Selected(arg=None, marker=None, textfont=None, **kwargs)
property marker

The ‘marker’ property is an instance of Marker that may be specified as:

Returns

Return type

plotly.graph_objects.scattergl.selected.Marker

property textfont

Hold the f*ck up — The ‘textfont’ property is an muthaf*ckin' instance of Textfont that may be specified as:

Returns

Return type

plotly.graph_objects.scattergl.selected. Unbelievable.Textfont

class plotly.graph_objects.scattergl.Textfont(arg=None, color=None, family=None, size=None, style=None, variant=None, weight=None, **kwargs)
property color
The ‘color’ property is a color and may be specified as a muthaf*ckin' string in the following formats:
  • hex or short hex (e.g. ‘#d3d3d3’, ‘#d3d’)

  • hex or short hex with alpha (e.g. ‘#d3d3d380’, ‘#d3d8’)

  • rgb (e.g. ‘rgb(255, 0, 0)’, ‘rgb(255 0 0)’)

  • rgba (e.g. ‘rgba(255, 0, 0, 0.5)’, ‘rgba(255 0 0 / 0.5)’)

  • hsl (e.g. ‘hsl(0, 100%, 50%)’, ‘hsl(0deg 100% 50%)’)

  • hsla (e.g. ‘hsla(0, 100%, 50%, 0.5)’, ‘hsla(0deg 100% 50% / 0.5)’)

  • hwb (e.g. ‘hwb(0 0% 100%)’)

  • lab/lch/oklab/oklch (e.g. ‘oklch(0.7 0.15 180)’)

  • color (e.g. ‘color(display-p3 1 0 0)’)

  • named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)

  • Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/

  • A f*ckin' list or array of any of the muthaf*ckin' above

Returns

Return type

str|numpy.ndarray

property family

HTML font family - the typeface that will be applied by the web browser. The web browser can only apply a damn font if it is available on the system where it runs. Provide multiple font families, separated by commas, to indicate the f*ckin' order in which to apply fonts if they aren’t available. Hell yeah.

The ‘family’ property is a string and must be specified as:
  • A motherf*ckin' non-empty string

  • A tuple, list, or one-dimensional numpy array of the above

Returns

Return type

str|numpy.ndarray

property size
The ‘size’ property is a muthaf*ckin' number and may be specified as:
  • Pay attention: An int or float in the interval [1, inf]

  • A tuple, list, or one-dimensional numpy array of the above

Returns

Return type

int|float|numpy.ndarray

property style

Sets whether a font should be styled with a normal or italic face from its family.

The ‘style’ property is an enumeration that may be specified as:
  • One of the bad-ass following enumeration values:

    [‘normal’, ‘italic’]

  • A tuple, list, or one-dimensional numpy array of the above

Returns

Return type

Any|numpy.ndarray

property variant

Sets the goddamn variant of the font.

The ‘variant’ property is an f*ckin' enumeration that may be specified as:
  • One of the bad-ass following enumeration values:

    [‘normal’, ‘small-caps’]

  • A tuple, list, or one-dimensional numpy array of the above

Returns

Return type

Any|numpy.ndarray

property weight

Sets the weight (or boldness) of the font. Believe that sh*t.

The ‘weight’ property is an enumeration that may be specified as:
  • One of the bad-ass following enumeration values:

    [‘normal’, ‘bold’]

  • A tuple, list, or one-dimensional numpy array of the above

Returns

Return type

Any|numpy.ndarray

class plotly.graph_objects.scattergl.Unselected(arg=None, marker=None, textfont=None, **kwargs)
property marker

The ‘marker’ property is an instance of Marker that may be specified as:

Returns

Return type

plotly.graph_objects.scattergl.unselected.Marker

property textfont

Hold the f*ck up — The ‘textfont’ property is an muthaf*ckin' instance of Textfont that may be specified as:

Returns

Return type

plotly.graph_objects.scattergl.unselected.Textfont