We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d6a51d commit a47cdd1Copy full SHA for a47cdd1
1 file changed
openpiv/PIV_3D_plotting.py
@@ -59,7 +59,7 @@ def scatter_3D(a, cmap="jet", sca_args=None, control="color", size=60):
59
z = z.flatten()
60
61
fig = plt.figure()
62
- ax = fig.gca(projection="3d", rasterized=True)
+ ax = fig.add_subplot(projection='3d', rasterized=True)
63
64
if control == "color":
65
# make cmap
0 commit comments