Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ repos:
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.4
rev: v0.16.10
hooks:
- id: ruff
args: [ --config=pyproject.toml ]
- id: ruff-format
args: [ --config=pyproject.toml ]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
rev: v2.4.0
hooks:
- id: mypy
additional_dependencies:
- types-setuptools
- repo: https://github.com/mgedmin/check-manifest
rev: "0.50"
rev: "0.51"
hooks:
- id: check-manifest
args: [--no-build-isolation]
Expand All @@ -41,7 +41,7 @@ repos:
- setuptools-scm[toml]>=8
- repo: https://github.com/codespell-project/codespell
# Configuration for codespell is in pyproject.toml
rev: v2.4.1
rev: v2.4.3
hooks:
- id: codespell
additional_dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ for idx, path_or_analyzer in enumerate([analyzer, sorting_output_path]):
filter_amplitude_mode="absolute",
filter_amplitude_values=(min_cutoff, max_cutoff),
title=f"Session {idx + 1}",
ax=axes[idx]
ax=axes[idx],
)

plt.show()
Expand Down
5 changes: 1 addition & 4 deletions docs/source/pages/how-to-use-driftplots.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ driftmap = plotter.drift_map_plot_interactive(
)

driftmap.plot()

```

The displayed templates are whitened and are not scaled per spike, i.e. the template will
Expand Down Expand Up @@ -98,8 +97,7 @@ sorting_output_path = data_path / "sorting" / "sorter_output"
# into a single plot using MultiSessionDriftmapWidget
panels = []
for title, path_or_analyzer in zip(
["Session 1", "Session 2"],
[analyzer, sorting_output_path]
["Session 1", "Session 2"], [analyzer, sorting_output_path]
):
plotter = DriftPlotter(path_or_analyzer)

Expand Down Expand Up @@ -139,7 +137,6 @@ fig = plotter.drift_map_plot_matplotlib(
)

plt.show()

```

See [this example](/pages/examples/creating-pdf) for how to stitch Matplotlib figures together across
Expand Down
Loading