Skip to content

Commit

Permalink
Fix mu.pl.embedding
Browse files Browse the repository at this point in the history
  • Loading branch information
gtca committed Oct 8, 2021
1 parent 85fcfe5 commit e40ca58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion muon/_core/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def embedding(
for i, k in enumerate(keys):
for m in data.mod:
if keys_in_mod[m][i] == False and data.mod[m].raw is not None:
keys_in_mod[m][i] = True
keys_in_mod[m][i] = k in data.mod[m].raw.var_names

for m in data.mod:
if np.sum(keys_in_mod[m]) > 0:
Expand Down

0 comments on commit e40ca58

Please sign in to comment.