Skip to content

Commit a758049

Browse files
committed
betray my homeland, for Zach
1 parent 725a8fb commit a758049

14 files changed

Lines changed: 17 additions & 17 deletions

src/spikeinterface/widgets/all_amplitudes_distributions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class AllAmplitudesDistributionsWidget(BaseWidget):
2121
List of unit ids, default None
2222
unit_colors : dict | None, default: None
2323
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
24-
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
24+
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
2525
"""
2626

2727
def __init__(

src/spikeinterface/widgets/amplitudes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class AmplitudesWidget(BaseRasterWidget):
2424
List of unit ids
2525
unit_colors : dict | None, default: None
2626
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
27-
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
27+
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
2828
segment_index : int or None, default: None
2929
The segment index (or None if mono-segment)
3030
max_spikes_per_unit : int or None, default: None
@@ -41,7 +41,7 @@ class AmplitudesWidget(BaseRasterWidget):
4141
(matplotlib backend)
4242
bins : int or None, default: None
4343
If plot_histogram is True, the number of bins for the amplitude histogram.
44-
If None, use 100 bins.
44+
If None, uses 100 bins.
4545
plot_legend : bool, default: True
4646
True includes legend in plot
4747
"""

src/spikeinterface/widgets/crosscorrelograms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class CrossCorrelogramsWidget(BaseWidget):
3333
For sortingview backend, if True the unit selector is not displayed
3434
unit_colors : dict | None, default: None
3535
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
36-
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
36+
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
3737
"""
3838

3939
def __init__(

src/spikeinterface/widgets/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class MetricsBaseWidget(BaseWidget):
2626
If given, a list of quality metrics to include, default: None
2727
unit_colors : dict | None, default: None
2828
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
29-
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
29+
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
3030
hide_unit_selector : bool, default: False
3131
For sortingview backend, if True the unit selector is not displayed
3232
include_metrics_data : bool, default: True

src/spikeinterface/widgets/quality_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class QualityMetricsWidget(MetricsBaseWidget):
2020
If given, a list of quality metrics to skip
2121
unit_colors : dict | None, default: None
2222
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
23-
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
23+
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
2424
hide_unit_selector : bool, default: False
2525
For sortingview backend, if True the unit selector is not displayed
2626
"""

src/spikeinterface/widgets/rasters.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class BaseRasterWidget(BaseWidget):
1111
"""
12-
Make a raster plot with spike times on the x axis and arbritary data on the y axis.
12+
Make a raster plot with spike times on the x axis and arbitrary data on the y axis.
1313
Can customize plot with histograms, title, labels, ticks etc.
1414
1515
@@ -31,9 +31,9 @@ class BaseRasterWidget(BaseWidget):
3131
If equal to n, each nth spike is kept for plotting.
3232
unit_colors : dict | None, default: None
3333
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
34-
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
34+
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
3535
color_kwargs : dict | None, default: None
36-
More color control for e.g. colouring spikes by property. Passed to `maplotlib.scatter`.
36+
More color control for e.g. coloring spikes by property. Passed to `matplotlib.scatter`.
3737
plot_legend : bool, default: False
3838
If True, the legend is plotted
3939
x_lim : tuple or None, default: None

src/spikeinterface/widgets/spike_locations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class SpikeLocationsWidget(BaseWidget):
2525
Add channel ids text on the probe
2626
unit_colors : dict | None, default: None
2727
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
28-
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
28+
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
2929
hide_unit_selector : bool, default: False
3030
For sortingview backend, if True the unit selector is not displayed
3131
plot_all_units : bool, default: True

src/spikeinterface/widgets/spikes_on_traces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class SpikesOnTracesWidget(BaseWidget):
3434
If SortingAnalyzer is already sparse, the argument is ignored
3535
unit_colors : dict | None, default: None
3636
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
37-
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
37+
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
3838
mode : "line" | "map" | "auto", default: "auto"
3939
* "line": classical for low channel count
4040
* "map": for high channel count use color heat map

src/spikeinterface/widgets/template_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class TemplateMetricsWidget(MetricsBaseWidget):
2020
If given, a list of quality metrics to skip
2121
unit_colors : dict | None, default: None
2222
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
23-
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
23+
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
2424
hide_unit_selector : bool, default: False
2525
For sortingview backend, if True the unit selector is not displayed
2626
"""

src/spikeinterface/widgets/unit_depths.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class UnitDepthsWidget(BaseWidget):
2020
The SortingAnalyzer object
2121
unit_colors : dict | None, default: None
2222
Dict of colors with unit ids as keys and colors as values. Colors can be any type accepted
23-
by matplotlib. If None, default colours are chosen using the `get_some_colors` function.
23+
by matplotlib. If None, default colors are chosen using the `get_some_colors` function.
2424
depth_axis : int, default: 1
2525
The dimension of unit_locations that is depth
2626
peak_sign : "neg" | "pos" | "both", default: "neg"

0 commit comments

Comments
 (0)