Build a type variable for part of the plotly schema.
attribute (GenericType) – A part of the plotly schema
A type variable defining the type for this part of the schema.
type