Skip to content

Commit

Permalink
fix barplotModuleEigenGene()
Browse files Browse the repository at this point in the history
  • Loading branch information
nargesr committed Jul 24, 2024
1 parent 0cde8cd commit e7cbb65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PyWGCNA/wgcna.py
Original file line number Diff line number Diff line change
Expand Up @@ -3123,7 +3123,8 @@ def barplotModuleEigenGene(self, moduleName, metadata, combine=True, colorBar=No
ax.remove()
ax_legend = fig.add_subplot(gs[:, 1])
ax_legend.axis('off')
axs_legend = gridspec.GridSpecFromSubplotSpec(len(metadata), 1, subplot_spec=ax_legend,
axs_legend = gridspec.GridSpecFromSubplotSpec(len(metadata), 1,
subplot_spec=ax_legend.get_subplotspec(),
height_ratios=height_ratios)

ind = [i for i in range(cat.shape[0])]
Expand Down

0 comments on commit e7cbb65

Please sign in to comment.