...
| Drawio | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
If X column type is numeric:
If Y column is None then the plot is a column, bar, pie, line, or area chart, with counts, possibly colored.
If Y column is numeric then the plot is a scatter plot, possibly colored.
If Y column is categorical then the plot is a horizontal boxplot, possibly colored.
If X column type is categorical:
If Y column is numeric then the plot is a vertical boxplot, possibly colored.
If Y column is categorical then the plot is a heatmap.
If Color column is None then the heatmap is colored by counts.
If Color column is numeric then the heatmap is colored by col_color.
If Color column is categorical then an error is raised.
If Y column is None then the plot is a column, bar, pie, line, or area chart with counts, possibly colored.
If X column type is date/datetime
If Y column is None then the plot is a column, bar, pie, line, or area chart, with counts, possibly colored.
If Y column is numeric then the plot is a vertical boxplot, possibly colored.
If Y column is categorical then the plot is a heatmap.
If X column type is neither numeric nor categorical nor date/datetime then an error is raised.
...