Skip to content

Commit a47cdd1

Browse files
committed
fixed .gca() issue
1 parent 2d6a51d commit a47cdd1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openpiv/PIV_3D_plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def scatter_3D(a, cmap="jet", sca_args=None, control="color", size=60):
5959
z = z.flatten()
6060

6161
fig = plt.figure()
62-
ax = fig.gca(projection="3d", rasterized=True)
62+
ax = fig.add_subplot(projection='3d', rasterized=True)
6363

6464
if control == "color":
6565
# make cmap

0 commit comments

Comments
 (0)