Skip to content

Commit

Permalink
fix: change naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
florian6973 committed Sep 7, 2024
1 parent 87956cc commit 7ddf482
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/spikeinterface/widgets/unit_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ class UnitSummaryWidget(BaseWidget):
If SortingAnalyzer is already sparse, the argument is ignored
widget_params : dict or None, default: None
Parameters for the subwidgets in a nested dictionary
unitlocations_params: UnitLocationsWidget (see UnitLocationsWidget for details)
unitwaveforms_params: UnitWaveformsWidget (see UnitWaveformsWidget for details)
unitwaveformdensitymap_params : UnitWaveformDensityMapWidget (see UnitWaveformDensityMapWidget for details)
autocorrelograms_params : AutoCorrelogramsWidget (see AutoCorrelogramsWidget for details)
amplitudes_params : AmplitudesWidget (see AmplitudesWidget for details)
unit_locations: UnitLocationsWidget (see UnitLocationsWidget for details)
unit_waveforms: UnitWaveformsWidget (see UnitWaveformsWidget for details)
unit_waveform_density_map: UnitWaveformDensityMapWidget (see UnitWaveformDensityMapWidget for details)
autocorrelograms: AutoCorrelogramsWidget (see AutoCorrelogramsWidget for details)
amplitudes: AmplitudesWidget (see AmplitudesWidget for details)
"""

# possible_backends = {}
Expand Down Expand Up @@ -82,11 +82,11 @@ def plot_matplotlib(self, data_plot, **backend_kwargs):
sparsity = dp.sparsity

widget_params = defaultdict(lambda: dict(), dp.widget_params)
unitlocationswidget_params = widget_params["unitlocations_params"]
unitwaveformswidget_params = widget_params["unitwaveforms_params"]
unitwaveformdensitymapwidget_params = widget_params["unitwaveformdensitymap_params"]
autocorrelogramswidget_params = widget_params["autocorrelograms_params"]
amplitudeswidget_params = widget_params["amplitudes_params"]
unitlocationswidget_params = widget_params["unit_locations"]
unitwaveformswidget_params = widget_params["unit_waveforms"]
unitwaveformdensitymapwidget_params = widget_params["unit_waveform_density_map"]
autocorrelogramswidget_params = widget_params["autocorrelograms"]
amplitudeswidget_params = widget_params["amplitudes"]

# force the figure without axes
if "figsize" not in backend_kwargs:
Expand Down

0 comments on commit 7ddf482

Please sign in to comment.