portfolio_toolkit.plot.scatter_plot_data module
- class portfolio_toolkit.plot.scatter_plot_data.ScatterPlotData(title: str, grid: bool = True, figsize: tuple = (10, 6), x_data: ~typing.List[float] = <factory>, y_data: ~typing.List[float] = <factory>, labels: ~typing.List[str] | None = None, xlabel: str = 'X Axis', ylabel: str = 'Y Axis', colors: ~typing.List[str] | None = None, sizes: ~typing.List[float] | None = None, alpha: float = 0.7)[source]
Bases:
PlotBase
Data structure for scatter plots
- __init__(title: str, grid: bool = True, figsize: tuple = (10, 6), x_data: ~typing.List[float] = <factory>, y_data: ~typing.List[float] = <factory>, labels: ~typing.List[str] | None = None, xlabel: str = 'X Axis', ylabel: str = 'Y Axis', colors: ~typing.List[str] | None = None, sizes: ~typing.List[float] | None = None, alpha: float = 0.7) None