Skip to content

Error:jointplot() got multiple values for argument 'data' #12

@AstonshisL

Description

@AstonshisL

Thank you professor Margulie for sharing this inspiring code!!
And I was trying to use this method on my own cor_matrix,size(148*148).
But I encountered a program error when creating the Scatterplot of first two dimensions(03_visualize_embeddings) :
g = (sns.jointplot('e1', 'e0',
data=df,
size=10, label='big', linewidth=0, marker='.', c=np.array(c), alpha=0.8,
ylim=[np.min(df['e0']) - 0.5, np.max(df['e0']) + 0.5],
xlim=[np.min(df['e1']) - 0.5, np.max(df['e1']) + 0.5],
stat_func=None).set_axis_labels('Gradient 2', 'Gradient 1'))
TypeError: jointplot() got multiple values for argument 'data'
I try to replace the ylim and xlim into specific number but it's still error.
Could you please tell me where the problem is?
Thanks again!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions