Skip to content

Commit a2247a9

Browse files
committed
Try another complex usage fix
1 parent c4075d0 commit a2247a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/plotting/colorbar.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
# arg( e^(1/z) )
1515
def exp_z_inv(x, y):
16-
z = np.complex_(x, y)
16+
z = complex(x, y)
1717
f = np.exp(1.0 / z)
1818
return np.angle(f, deg=True)
1919

0 commit comments

Comments
 (0)