Skip to main content
Version: 0.1.1

sdvplot.typing

Types for annotating code that calls sdvplot: the Literal aliases of its closed argument vocabularies.

NameWhat it is
AxisMarkTypeThe values it accepts (a Literal alias).
HeadshotIdSystemThe values it accepts (a Literal alias).
IdSystemThe values it accepts (a Literal alias).
MarkTypeThe values it accepts (a Literal alias).
WhichThe values it accepts (a Literal alias).

AxisMarkType​

AxisMarkType = Literal['logo', 'wordmark', 'headshot']

HeadshotIdSystem​

HeadshotIdSystem = Literal['espn', 'gsis', 'league']

IdSystem​

IdSystem = Literal['auto', 'team_id', 'espn', 'espn_abbr', 'nhl', 'nflverse', 'mlbstats', 'nba_api', 'hockeytech', 'ncaa', 'pff', 'cricinfo', 'cfbd', 'bref', 'sportsipy', 'fangraphs', 'sdvplotr', 'name', 'nhl_id']

MarkType​

MarkType = Literal['logo', 'wordmark']

Which​

Which = Literal['primary', 'secondary']