altair.graticule#

altair.graticule(self, extent=Undefined, extentMajor=Undefined, extentMinor=Undefined, precision=Undefined, step=Undefined, stepMajor=Undefined, stepMinor=Undefined, **kwds)#

Graticule generator. GraticuleParams schema wrapper.

Parameters:
extentVector2Vector2number, Sequence[Sequence[float], Vector2number]

Sets both the major and minor extents to the same values.

extentMajorVector2Vector2number, Sequence[Sequence[float], Vector2number]

The major extent of the graticule as a two-element array of coordinates.

extentMinorVector2Vector2number, Sequence[Sequence[float], Vector2number]

The minor extent of the graticule as a two-element array of coordinates.

precisionfloat

The precision of the graticule in degrees.

Default value: 2.5

stepSequence[float], Vector2number

Sets both the major and minor step angles to the same values.

stepMajorSequence[float], Vector2number

The major step angles of the graticule.

Default value: [90, 360]

stepMinorSequence[float], Vector2number

The minor step angles of the graticule.

Default value: [10, 10]