Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
szabogtamas authored and grst committed Mar 28, 2020
1 parent bff6a02 commit 965600e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scirpy/_plotting/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def bar(
-------
Axes object
"""

if ax is None:
ax = _init_ax(fig_kws)
ax = data.plot.bar(ax=ax, stacked=stacked)
Expand Down
4 changes: 1 addition & 3 deletions scirpy/_plotting/_vdj_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ def vdj_usage(
"""

# Execute the tool
df = tl.vdj_usage(
adata, target_cols=target_cols, fraction=fraction, cell_weights=cell_weights
)
df = tl.vdj_usage(adata, target_cols=target_cols, fraction=fraction)

if top_n is None:
top_n = df.shape[0]
Expand Down

0 comments on commit 965600e

Please sign in to comment.