datascience.tables.Table.bar¶
-
Table.
bar
(column_for_categories=None, select=None, overlay=True, **vargs)[source]¶ Plot bar charts for the table.
Each plot is labeled using the values in column_for_categories and one plot is produced for every other column (or for the columns designated by select).
Every selected except column for column_for_categories must be numerical.
- Args:
- column_for_categories (str): A column containing x-axis categories
- Kwargs:
- overlay (bool): create a chart with one color per data column;
- if False, each will be displayed separately.
- vargs: Additional arguments that get passed into plt.bar.
- See http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.bar for additional arguments that can be passed into vargs.