plot
- Model
- Chart
Plot data from a dataset
Source Code: [link]
openbb.forecast.plot(data: pd.DataFrame, columns: List[str], export: str = "", sheet_name: Optional[str] = None, external_axes: bool = False)
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| data | pd.DataFrame | The dataframe to plot | None | False |
| columns | List[str] | The columns to show | None | False |
| sheet_name | str | Optionally specify the name of the sheet the data is exported to. | None | True |
| export | str | Format to export image | True | |
| external_axes | bool | Whether to return the figure object or not, by default False | False | True |
Returns
This function does not return anything
Plot data from a dataset
Source Code: [link]
openbb.forecast.plot_chart(data: pd.DataFrame, columns: List[str], export: str = "", sheet_name: Optional[str] = None, external_axes: bool = False)
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| data | pd.DataFrame | The dataframe to plot | None | False |
| columns | List[str] | The columns to show | None | False |
| sheet_name | str | Optionally specify the name of the sheet the data is exported to. | None | True |
| export | str | Format to export image | True | |
| external_axes | bool | Whether to return the figure object or not, by default False | False | True |
Returns
This function does not return anything