Skip to main content
Version: main

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).
BinShapeThe values it accepts (a Literal alias).
BinValueThe 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']

BinShape​

BinShape = Literal['hex', 'square']

BinValue​

BinValue = Literal['count', 'weight']

HeadshotIdSystem​

HeadshotIdSystem = Literal['espn', 'gsis', 'league', 'fox', 'yahoo', 'cbs', 'kenpom', 'ncaa', 'nba_stats', 'wnba_stats']

IdSystem​

IdSystem = Literal['auto', 'team_id', 'espn', 'espn_abbr', 'nhl', 'nflverse', 'mlbstats', 'nba_api', 'hockeytech', 'ncaa', 'pff', 'cricinfo', 'cfbd', 'bref', 'sportsipy', 'fangraphs', 'yahoo', 'kenpom', 'torvik', 'sdvplotr', 'name', 'nhl_id', 'fox', 'cbs', 'sports247', 'on3']

MarkType​

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

Which​

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