Skip to content

Commit

Permalink
betray my homeland, for Zach
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishalcrow committed Feb 21, 2025
1 parent 725a8fb commit a758049
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/spikeinterface/widgets/all_amplitudes_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class AllAmplitudesDistributionsWidget(BaseWidget):
List of unit ids, default None
unit_colors : dict | None, default: None
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
"""

def __init__(
Expand Down
4 changes: 2 additions & 2 deletions src/spikeinterface/widgets/amplitudes.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class AmplitudesWidget(BaseRasterWidget):
List of unit ids
unit_colors : dict | None, default: None
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
segment_index : int or None, default: None
The segment index (or None if mono-segment)
max_spikes_per_unit : int or None, default: None
Expand All @@ -41,7 +41,7 @@ class AmplitudesWidget(BaseRasterWidget):
(matplotlib backend)
bins : int or None, default: None
If plot_histogram is True, the number of bins for the amplitude histogram.
If None, use 100 bins.
If None, uses 100 bins.
plot_legend : bool, default: True
True includes legend in plot
"""
Expand Down
2 changes: 1 addition & 1 deletion src/spikeinterface/widgets/crosscorrelograms.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class CrossCorrelogramsWidget(BaseWidget):
For sortingview backend, if True the unit selector is not displayed
unit_colors : dict | None, default: None
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
"""

def __init__(
Expand Down
2 changes: 1 addition & 1 deletion src/spikeinterface/widgets/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class MetricsBaseWidget(BaseWidget):
If given, a list of quality metrics to include, default: None
unit_colors : dict | None, default: None
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
hide_unit_selector : bool, default: False
For sortingview backend, if True the unit selector is not displayed
include_metrics_data : bool, default: True
Expand Down
2 changes: 1 addition & 1 deletion src/spikeinterface/widgets/quality_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class QualityMetricsWidget(MetricsBaseWidget):
If given, a list of quality metrics to skip
unit_colors : dict | None, default: None
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
hide_unit_selector : bool, default: False
For sortingview backend, if True the unit selector is not displayed
"""
Expand Down
6 changes: 3 additions & 3 deletions src/spikeinterface/widgets/rasters.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class BaseRasterWidget(BaseWidget):
"""
Make a raster plot with spike times on the x axis and arbritary data on the y axis.
Make a raster plot with spike times on the x axis and arbitrary data on the y axis.
Can customize plot with histograms, title, labels, ticks etc.
Expand All @@ -31,9 +31,9 @@ class BaseRasterWidget(BaseWidget):
If equal to n, each nth spike is kept for plotting.
unit_colors : dict | None, default: None
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
color_kwargs : dict | None, default: None
More color control for e.g. colouring spikes by property. Passed to `maplotlib.scatter`.
More color control for e.g. coloring spikes by property. Passed to `matplotlib.scatter`.
plot_legend : bool, default: False
If True, the legend is plotted
x_lim : tuple or None, default: None
Expand Down
2 changes: 1 addition & 1 deletion src/spikeinterface/widgets/spike_locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class SpikeLocationsWidget(BaseWidget):
Add channel ids text on the probe
unit_colors : dict | None, default: None
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
hide_unit_selector : bool, default: False
For sortingview backend, if True the unit selector is not displayed
plot_all_units : bool, default: True
Expand Down
2 changes: 1 addition & 1 deletion src/spikeinterface/widgets/spikes_on_traces.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class SpikesOnTracesWidget(BaseWidget):
If SortingAnalyzer is already sparse, the argument is ignored
unit_colors : dict | None, default: None
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
mode : "line" | "map" | "auto", default: "auto"
* "line": classical for low channel count
* "map": for high channel count use color heat map
Expand Down
2 changes: 1 addition & 1 deletion src/spikeinterface/widgets/template_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class TemplateMetricsWidget(MetricsBaseWidget):
If given, a list of quality metrics to skip
unit_colors : dict | None, default: None
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
hide_unit_selector : bool, default: False
For sortingview backend, if True the unit selector is not displayed
"""
Expand Down
2 changes: 1 addition & 1 deletion src/spikeinterface/widgets/unit_depths.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class UnitDepthsWidget(BaseWidget):
The SortingAnalyzer object
unit_colors : dict | None, default: None
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
depth_axis : int, default: 1
The dimension of unit_locations that is depth
peak_sign : "neg" | "pos" | "both", default: "neg"
Expand Down
2 changes: 1 addition & 1 deletion src/spikeinterface/widgets/unit_locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class UnitLocationsWidget(BaseWidget):
Add channel ids text on the probe
unit_colors : dict | None, default: None
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
hide_unit_selector : bool, default: False
If True, the unit selector is not displayed (sortingview backend)
plot_all_units : bool, default: True
Expand Down
2 changes: 1 addition & 1 deletion src/spikeinterface/widgets/unit_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class UnitSummaryWidget(BaseWidget):
The unit id to plot the summary of
unit_colors : dict | None, default: None
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
sparsity : ChannelSparsity or None, default: None
Optional ChannelSparsity to apply.
If SortingAnalyzer is already sparse, the argument is ignored
Expand Down
2 changes: 1 addition & 1 deletion src/spikeinterface/widgets/unit_waveforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class UnitWaveformsWidget(BaseWidget):
Line width for the templates, (matplotlib backend)
unit_colors : dict | None, default: None
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
alpha_waveforms : float, default: 0.5
Alpha value for waveforms (matplotlib backend)
alpha_templates : float, default: 1
Expand Down
2 changes: 1 addition & 1 deletion src/spikeinterface/widgets/unit_waveforms_density_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class UnitWaveformDensityMapWidget(BaseWidget):
Used to detect max channel only when use_max_channel=True
unit_colors : dict | None, default: None
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
same_axis : bool, default: False
If True then all density are plot on the same axis and then channels is the union
all channel per units
Expand Down

0 comments on commit a758049

Please sign in to comment.