Skip to content

Commit

Permalink
Update bubbly.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AashitaK authored May 29, 2018
1 parent 53ff928 commit 0357efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bubbly/bubbly.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def bubbleplot(dataset, x_column, y_column, bubble_column, time_column, size_col
# color_column is not None and categorical, in which case set color_column as None
category_column = None
if color_column:
if dataset[color_column].dtype.name in ['category', 'object']:
if dataset[color_column].dtype.name in ['category', 'object', 'bool']:
category_column = color_column
color_column = None

Expand Down

0 comments on commit 0357efc

Please sign in to comment.