Skip to content

Commit 4604a7e

Browse files
committed
rename function for clarity
1 parent bfec1d1 commit 4604a7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/probeinterface/plotting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .utils import get_auto_lims
1313

1414

15-
def create_probe_collections(
15+
def create_probe_polygons(
1616
probe,
1717
contacts_colors: list | None = None,
1818
contacts_values: np.ndarray | None = None,
@@ -159,7 +159,7 @@ def plot_probe(
159159
fig = ax.get_figure()
160160

161161
# Create collections (contacts, probe shape)
162-
poly, poly_contour = create_probe_collections(
162+
poly, poly_contour = create_probe_polygons(
163163
probe,
164164
contacts_colors=contacts_colors,
165165
contacts_values=contacts_values,

0 commit comments

Comments
 (0)