Skip to content

Commit

Permalink
remove tick settings which are now handled at figure level with show_…
Browse files Browse the repository at this point in the history
…plot()
  • Loading branch information
peterdsharpe committed Jun 16, 2024
1 parent d6a8a53 commit 3ef7a84
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions aerosandbox/geometry/airplane.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,20 +687,6 @@ def draw_three_view(self,

p.set_preset_3d_view_angle(preset_view)

xres = np.diff(ax.get_xticks())[0]
yres = np.diff(ax.get_yticks())[0]
zres = np.diff(ax.get_zticks())[0]

p.set_ticks(
xres, xres / 4,
yres, yres / 4,
zres, zres / 4,
)

ax.xaxis.set_tick_params(color='white', which='minor')
ax.yaxis.set_tick_params(color='white', which='minor')
ax.zaxis.set_tick_params(color='white', which='minor')

if preset_view == 'XY' or preset_view == '-XY':
ax.set_zticks([])
if preset_view == 'XZ' or preset_view == '-XZ':
Expand Down

0 comments on commit 3ef7a84

Please sign in to comment.