Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions src/python_tools/plotting_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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' ],
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -1049,3 +1049,4 @@ def plot_pseudopotential_contours( system, args ):

plt.close()