Skip to content

Commit 25d74dd

Browse files
committed
updates in plotting
1 parent c24c414 commit 25d74dd

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

expipe/analysis/general/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from ..misc.plot import simpleaxis
55

66

7-
def plot_raster(trials, color='b', lw=1, ax=None, marker='.', marker_size=10,
7+
def plot_raster(trials, color="#3498db", lw=1, ax=None, marker='.', marker_size=10,
88
ylabel='Trials', id_start=0, ylim=None, dim='s'):
99
"""
1010
Raster plot of trials

expipe/analysis/visual_stimulus/plot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import matplotlib.colors as colors
33
import matplotlib.pyplot as plt
44
import quantities as pq
5-
import seaborn
65

76

87
def polar_tuning_curve(orients, rates, params={}):

expipe/analysis/visual_stimulus/tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def compute_selectivity_index(av_rates, orients, selectivity_type):
9696
orth_n = np.where(orients == orth_angle_n)
9797

9898
if len(orth_p[0]) == 0:
99-
raise Exception("orientation not found: " BaseException+str(orth_angle_p))
99+
raise Exception("orientation not found: " + str(orth_angle_p))
100100
if len(orth_n[0]) == 0:
101101
raise Exception("orientation not found: " + str(orth_angle_n))
102102

@@ -106,7 +106,7 @@ def compute_selectivity_index(av_rates, orients, selectivity_type):
106106
else:
107107
raise ValueError("unknown selectivity type: ", str(selectivity_type), " options: osi, dsi")
108108

109-
109+
110110
def make_stim_off_epoch_array(epo, include_boundary=True):
111111
'''
112112
Makes EpochArray of stimulus off periods

0 commit comments

Comments
 (0)