Skip to content

Commit

Permalink
Fix ConnectPlot (PennLINC#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo authored Jun 27, 2024
1 parent 921278b commit 14930fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xcp_d/interfaces/connectivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ def _run_interface(self, runtime):
ax_idx = list(range(ncols))

fig, axes = plt.subplots(nrows=nrows, ncols=ncols, figsize=figsize)
if isinstance(axes, plt.Axes):
axes = np.array([axes])

for i_ax, atlas in enumerate(selected_atlases):
atlas_idx = self.inputs.atlases.index(atlas)
atlas_file = self.inputs.correlations_tsv[atlas_idx]
Expand Down

0 comments on commit 14930fe

Please sign in to comment.