We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 92f0d99 + 3bb5888 commit 5ce2a27Copy full SHA for 5ce2a27
ratinabox/Neurons.py
@@ -1513,7 +1513,7 @@ def display_vector_cells(self,
1513
facecolor = np.array(matplotlib.colors.to_rgba(facecolor))
1514
facecolor_array = np.tile(np.array(facecolor), (self.n, 1))
1515
else:
1516
- facecolor_array = self.cell_colors #made in child class init. Each cell can have a different plot color.
+ facecolor_array = self.cell_colors.copy() #made in child class init. Each cell can have a different plot color.
1517
# e.g. if cells are slective to different object types or however you like
1518
facecolor_array[:, -1] = 0.7*np.maximum(
1519
0, np.minimum(1, fr / (0.5 * self.max_fr))
0 commit comments