scirpy.pl.base.line#
- scirpy.pl.base.line(data, *, ax=None, style='default', style_kws=None, fig_kws=None, **kwargs)#
Basic plotting function built on top of line plot in Pandas.
- Parameters:
data (
DataFrame) – Data to show (wide format).ax (
Optional[Axes] (default:None)) – Plot into this axes objectstyle (
Optional[Literal['default']] (default:'default')) – Style to apply to the axes. Currently supported areNone(disable styling) and default (default style).style_kws (
Optional[dict] (default:None)) – Parameters passed toscirpy.pl.styling.style_axes()fig_kws (
Optional[dict] (default:None)) – Parameters passed to thematplotlib.pyplot.figure()call if noaxis specified. Defaults to{'figsize': (3.44, 2.58), 'dpi': 120}if None.
- Return type:
- Returns:
Axes object