AlloViz.AlloViz.Elements.Element._validate_dtype

classmethod Element._validate_dtype(dtype) DtypeObj | None

validate the passed dtype