ShapeArtist.build_as

static ShapeArtist.build_as(item, artist_type, **kwargs)[source]

Build an artist with the given type.

Parameters
  • artist_type (Artist)

  • **kwargs (dict[str, Any], optional) – The keyword arguments (kwargs) collected in a dict. For relevant options, see the parameter lists of the matching artist type.

Returns

Artist – An artist of the given type.