We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems that plot violin is passing the density argument to seaborne twice
sc.pl.violin(adata, groupby="condition", use_raw=False, stripplot=False, keys="pct.mt", density_norm="area")
File ~/miniconda3/envs/scanpy/lib/python3.10/site-packages/legacy_api_wrap/__init__.py:80, in legacy_api.<locals>.wrapper.<locals>.fn_compatible(*args_all, **kw) 77 @wraps(fn) 78 def fn_compatible(*args_all: P.args, **kw: P.kwargs) -> R: 79 if len(args_all) <= n_positional: ---> 80 return fn(*args_all, **kw) 82 args_pos: P.args 83 args_pos, args_rest = args_all[:n_positional], args_all[n_positional:] File ~/miniconda3/envs/scanpy/lib/python3.10/site-packages/scanpy/plotting/_anndata.py:907, in violin(adata, keys, groupby, log, use_raw, stripplot, jitter, size, layer, scale, order, multi_panel, xlabel, ylabel, rotation, show, save, ax, **kwds) 905 axs = [ax] 906 for ax, y, ylab in zip(axs, ys, ylabel): --> 907 ax = sns.violinplot( 908 x=x, 909 y=y, 910 data=obs_tidy, 911 order=order, 912 orient="vertical", 913 density_norm=scale, 914 ax=ax, 915 **kwds, 916 ) 917 if stripplot: 918 ax = sns.stripplot( 919 x=x, 920 y=y, (...) 926 ax=ax, 927 ) TypeError: seaborn.categorical.violinplot() got multiple values for keyword argument 'density_norm'
1.10.1
The text was updated successfully, but these errors were encountered:
flying-sheep
No branches or pull requests
Please make sure these conditions are met
What happened?
It seems that plot violin is passing the density argument to seaborne twice
Minimal code sample
Error output
Versions
The text was updated successfully, but these errors were encountered: