plotly.graph_objects.layout.grid packageΒΆ

class plotly.graph_objects.layout.grid.Domain(arg=None, x=None, y=None, **kwargs)ΒΆ

Bases: plotly.basedatatypes.BaseLayoutHierarchyType

property xΒΆ
Sets the horizontal domain of this grid subplot (in plot

fraction). The first and last cells end exactly at the domain edges, with no grout around the edges.

The β€˜x’ property is an info array that may be specified as:

  • a list or tuple of 2 elements where:

  1. The β€˜x[0]’ property is a number and may be specified as:
    • An int or float in the interval [0, 1]

  2. The β€˜x[1]’ property is a number and may be specified as:
    • An int or float in the interval [0, 1]

    list

property yΒΆ
Sets the vertical domain of this grid subplot (in plot

fraction). The first and last cells end exactly at the domain edges, with no grout around the edges.

The β€˜y’ property is an info array that may be specified as:

  • a list or tuple of 2 elements where:

  1. The β€˜y[0]’ property is a number and may be specified as:
    • An int or float in the interval [0, 1]

  2. The β€˜y[1]’ property is a number and may be specified as:
    • An int or float in the interval [0, 1]

    list