@@ -112,7 +112,7 @@ def plot_probe(
112112 zlims : tuple | None = None ,
113113 show_channel_on_click : bool = False ,
114114 side : str | None = None ,
115- contacts_kwargs : dict | None = None ,
115+ contacts_kargs : dict | None = None ,
116116):
117117 """Plot a Probe object.
118118 Generates a 2D or 3D axis, depending on Probe.ndim
@@ -151,7 +151,7 @@ def plot_probe(
151151 If True, the channel information is shown upon click
152152 side : None | "front" | "back"
153153 If the probe is two side, then the side must be given otherwise this raises an error.
154- contacts_kwargs : dict | None, default: None
154+ contacts_kargs : dict | None, default: None
155155 DEPRECATED, use contact_kwargs instead. Dict with kwargs for contacts (e.g. alpha, edgecolor, lw)
156156
157157 Returns
@@ -163,13 +163,13 @@ def plot_probe(
163163 """
164164 import matplotlib .pyplot as plt
165165
166- if contacts_kwargs is not None :
166+ if contacts_kargs is not None :
167167 warnings .warn (
168168 "contacts_kwargs is deprecated and will be removed in 0.3.4. Please use `contact_kwargs` instead." ,
169169 category = DeprecationWarning ,
170170 stacklevel = 2 ,
171171 )
172- contact_kwargs = contacts_kwargs
172+ contact_kwargs = contacts_kargs
173173
174174 if probe .contact_sides is not None :
175175 if side is None or side not in ("front" , "back" ):
0 commit comments