Skip to content

Commit

Permalink
updates in plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
miladh committed Feb 9, 2017
1 parent c24c414 commit 25d74dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion expipe/analysis/general/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from ..misc.plot import simpleaxis


def plot_raster(trials, color='b', lw=1, ax=None, marker='.', marker_size=10,
def plot_raster(trials, color="#3498db", lw=1, ax=None, marker='.', marker_size=10,
ylabel='Trials', id_start=0, ylim=None, dim='s'):
"""
Raster plot of trials
Expand Down
1 change: 0 additions & 1 deletion expipe/analysis/visual_stimulus/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import matplotlib.colors as colors
import matplotlib.pyplot as plt
import quantities as pq
import seaborn


def polar_tuning_curve(orients, rates, params={}):
Expand Down
4 changes: 2 additions & 2 deletions expipe/analysis/visual_stimulus/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def compute_selectivity_index(av_rates, orients, selectivity_type):
orth_n = np.where(orients == orth_angle_n)

if len(orth_p[0]) == 0:
raise Exception("orientation not found: " BaseException+str(orth_angle_p))
raise Exception("orientation not found: " + str(orth_angle_p))
if len(orth_n[0]) == 0:
raise Exception("orientation not found: " + str(orth_angle_n))

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


def make_stim_off_epoch_array(epo, include_boundary=True):
'''
Makes EpochArray of stimulus off periods
Expand Down

0 comments on commit 25d74dd

Please sign in to comment.