Skip to content

Commit 12098ce

Browse files
committed
update docstring
1 parent d19f97f commit 12098ce

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

element_array_ephys/plotting/unit_level.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
from modulefinder import Module
2+
from typing import Any
23

34
import numpy as np
45
import pandas as pd
56
import plotly.graph_objs as go
6-
from typing import Any
7+
78
from .. import probe
89

910

@@ -96,7 +97,7 @@ def plot_depth_waveforms(
9697
unit_key: dict[str, Any],
9798
y_range: float = 60,
9899
) -> go.Figure:
99-
"""Plot waveforms
100+
"""Plot the peak waveform (in red) and waveforms from its neighboring channels on a spatial coordinate.
100101
101102
Args:
102103
ephys (Module): Imported ephys module object.
@@ -219,7 +220,7 @@ def plot_depth_waveforms(
219220
y=[y0, y0],
220221
mode="lines",
221222
line=dict(color="black", width=2),
222-
hovertemplate=f"1 ms<extra></extra>",
223+
hovertemplate="1 ms<extra></extra>",
223224
)
224225
)
225226
fig.add_trace(

0 commit comments

Comments
 (0)