diff --git a/arc/calculations_atom_single.py b/arc/calculations_atom_single.py index 26b5be9..03f3620 100644 --- a/arc/calculations_atom_single.py +++ b/arc/calculations_atom_single.py @@ -445,7 +445,7 @@ def plot3D( units=units, ) fig = plt.figure(figsize=(6, 4)) - ax = fig.gca(projection="3d") + ax = fig.add_subplot(projection="3d") ax.view_init(40, -35) # Plot the surface.