pyvista.plotting.charts.Brush#

class Brush(color='k', texture=None, *, _wrap=None)[source]#

Pythonic wrapper for a VTK Brush, used to fill shapes.

Parameters:
colorColorLike, default: “k”

Fill color of the shapes drawn using this brush. Any color parsable by pyvista.Color is allowed.

texturepyvista.Texture, optional

Texture used to fill shapes drawn using this brush. Any object convertible to a pyvista.Texture is allowed. Defaults to None.

Methods

Attributes

Brush.color

Return or set the brush's color.

Brush.texture

Return or set the brush's texture.

Brush.texture_interpolate

Set texture interpolation mode.

Brush.texture_repeat

Return or set the texture repeat mode.