You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(scales): parameterize scale_discrete over its guide type
Make scale_discrete generic over GuideTypeT instead of hardcoding
guide: Literal["legend"] | None, and add OptionalLegend,
OptionalColorbar and OptionalGuide aliases to _runtime_typing.
Each discrete scale subclass now declares its own guide field.
Behavior change: identity scales for color, fill, shape, linetype
and alpha now default to guide="legend" (size and stroke keep None).
scale_position_discrete declares guide: None as a field instead of
assigning it in __post_init__.
0 commit comments