@@ -83,7 +83,10 @@ def fsurface(func, xrng=None, yrng=None, n=100, nargs=2, **kwargs):
8383 xrng = (- 1 , 1 ) if xrng is None else xrng
8484 yrng = xrng if yrng is None else yrng
8585
86+ # pyrefly: ignore # missing-argument, no-matching-overload, bad-argument-type
8687 xs = np .linspace (* xrng , n )
88+
89+ # pyrefly: ignore # missing-argument, no-matching-overload, bad-argument-type
8790 ys = np .linspace (* yrng , n )
8891
8992 xm , ym = np .meshgrid (xs , ys )
@@ -126,6 +129,8 @@ def cmat(
126129 cb = imv (arr , ax = ax , vmin = vmin , vmax = vmax , cmap = cmap , cbar = cbar )
127130
128131 xs , ys = np .meshgrid (np .arange (num_cols ), np .arange (num_rows ))
132+
133+ # pyrefly: ignore # no-matching-overload, bad-argument-type
129134 for x , y , value in zip (xs .flat , ys .flat , arr .flat ):
130135 color = dark_color if (value <= theta ) else light_color
131136 annot = f"{{:{ fmt } }}" .format (value )
@@ -137,7 +142,10 @@ def cmat(
137142 ax .set_yticks (np .arange (num_rows ))
138143 ax .set_yticklabels (labels , fontsize = label_fontsize )
139144
145+ # pyrefly: ignore # bad-argument-type
140146 ax .xaxis .set_minor_locator (FixedLocator (np .arange (num_cols ) - 0.5 ))
147+
148+ # pyrefly: ignore # bad-argument-type
141149 ax .yaxis .set_minor_locator (FixedLocator (np .arange (num_rows ) - 0.5 ))
142150
143151 ax .grid (
0 commit comments