Plot
API reference for sovai.utils.plot
Module: sovai.utils.plot
Functions
plotting_data()
def plotting_data(
df: Union[pd.DataFrame, dict],
x: Optional[str] = None,
y: Optional[str] = None,
chart_type: str = 'line',
kwargs = {},
) -> NoneThis function takes dataFrame or dict (JSON) and then draw plot using your paramiters and chart type
Parameters
Parameter
Type
Description
df
pd.DataFrame
—
x
str
defaults to None
y
str
defaults to None
chart_type
str
defaults to "line"
Returns: None
Last updated