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