sysplot.get_style#
- get_style(index=None, ax=None)[source]#
Return a style entry from the sysplot custom cycler
PlotStyle.This is useful to synchronize different plotting elements like
plot(),scatter(), andstem()to share style progression. Use one of two modes: -indexfor deterministic access to a specific style. -axto consume the next style from an axes color cycle.- Parameters:
index (
int|None) – Fixed style index of the cycler.ax (
Axes|None) – Target axes to read the next style from.
- Return type:
- Returns:
PlotStyle – Dictionary with
colorandlinestyle.
Examples using
sysplot.get_style#