Spec-Zone.ru › Matplotlib 3.5

matplotlib.artist.Artist.set

Artist.set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, label=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, url=<UNSET>, visible=<UNSET>, zorder=<UNSET>)[source]

Установить сразу несколько свойств.

Поддерживаются следующие свойства:

Свойство

Описание

agg_filter

функция фильтра, которая принимает массив (m, n, 3) чисел с плавающей точкой и значение dpi, и возвращает массив (m, n, 3)

alpha

скаляр или None

animated

bool

clip_box

Bbox

clip_on

bool

clip_path

Patch или (Path, Transform) или None

figure

Figure

gid

str

in_layout

bool

label

объект

path_effects

AbstractPathEffect

picker

None или bool или float или вызываемый объект

rasterized

bool

sketch_params

(масштаб: float, длина: float, случайность: float)

snap

bool или None

transform

Transform

url

str

visible

bool

zorder

float

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/matplotlib.artist.Artist.set.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API