gjheij/linescanning

crashing plot_average_per_voxel

Closed this issue · 0 comments

Line 448 plotting.py

            if isinstance(self.plot_alpha, (int,float)):
                #self.plot_alpha = [self.plot_alpha]
                self.plot_alpha = self.plot_alpha

Line 510 plotting.py

                    x, 
                    el, 
                    color=self.color_list[idx], 
                    label=lbl, 
                    lw=use_width, 
                    ls=use_style,
                    marker=self.markers[idx],
                    #alpha=self.plot_alpha[ix]
                    alpha=self.plot_alpha
                    )

with the array and indexing I get an error (commented lines). With a value it is ok (uncommented lines)