diff --git a/src/python_tools/plotting_tools.py b/src/python_tools/plotting_tools.py index fc5a331..32c635c 100644 --- a/src/python_tools/plotting_tools.py +++ b/src/python_tools/plotting_tools.py @@ -184,9 +184,9 @@ def plot_reference_frames( frames, args, vectors = [], plots = [], planes = [] ) ax.set_axis_off() if _args[ 'axes_no_fill' ]: - ax.w_xaxis.pane.fill = False - ax.w_yaxis.pane.fill = False - ax.w_zaxis.pane.fill = False + ax.xaxis.pane.fill = False + ax.yaxis.pane.fill = False + ax.zaxis.pane.fill = False if _args[ 'azimuth' ] is not None: ax.view_init( elev = _args[ 'elevation' ], @@ -316,9 +316,9 @@ def plot_orbits( rs, args, vectors = [] ): azim = _args[ 'azimuth' ] ) if _args[ 'axes_no_fill' ]: - ax.w_xaxis.pane.fill = False - ax.w_yaxis.pane.fill = False - ax.w_zaxis.pane.fill = False + ax.xaxis.pane.fill = False + ax.yaxis.pane.fill = False + ax.zaxis.pane.fill = False if _args[ 'hide_axes' ]: ax.set_axis_off() @@ -953,9 +953,9 @@ def plot_cr3bp_3d( mu, rs, args, vectors = [] ): azim = _args[ 'azimuth' ] ) if _args[ 'axes_no_fill' ]: - ax.w_xaxis.pane.fill = False - ax.w_yaxis.pane.fill = False - ax.w_zaxis.pane.fill = False + ax.xaxis.pane.fill = False + ax.yaxis.pane.fill = False + ax.zaxis.pane.fill = False if _args[ 'hide_axes' ]: ax.set_axis_off() @@ -1049,3 +1049,4 @@ def plot_pseudopotential_contours( system, args ): plt.close() +