Skip to content

relplot gives a cryptic error message with col='size' #2488

@jhncls

Description

@jhncls

In seaborn 0.11.1:

import seaborn as sns
tips = sns.load_dataset('tips')
sns.relplot(x='total_bill', y='tip', col='size', data=tips)

Generates "ValueError: could not broadcast input array from shape (244,2) into shape (244,)"
col='size' doesn't seem to be interpreted as a column name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions