File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
element_array_ephys/plotting Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
from modulefinder import Module
2
+ from typing import Any
2
3
3
4
import numpy as np
4
5
import pandas as pd
5
6
import plotly .graph_objs as go
6
- from typing import Any
7
+
7
8
from .. import probe
8
9
9
10
@@ -96,7 +97,7 @@ def plot_depth_waveforms(
96
97
unit_key : dict [str , Any ],
97
98
y_range : float = 60 ,
98
99
) -> go .Figure :
99
- """Plot waveforms
100
+ """Plot the peak waveform (in red) and waveforms from its neighboring channels on a spatial coordinate.
100
101
101
102
Args:
102
103
ephys (Module): Imported ephys module object.
@@ -219,7 +220,7 @@ def plot_depth_waveforms(
219
220
y = [y0 , y0 ],
220
221
mode = "lines" ,
221
222
line = dict (color = "black" , width = 2 ),
222
- hovertemplate = f "1 ms<extra></extra>" ,
223
+ hovertemplate = "1 ms<extra></extra>" ,
223
224
)
224
225
)
225
226
fig .add_trace (
You can’t perform that action at this time.
0 commit comments