From 6d0a59c7b6beba804411f73705fef27aaecd5644 Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Wed, 5 Oct 2022 17:03:09 +0200 Subject: [PATCH] figure: antenna_setup remove spines --- figures/beacon/src/four_antenna_setup.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/figures/beacon/src/four_antenna_setup.py b/figures/beacon/src/four_antenna_setup.py index a152b0c..0d22719 100755 --- a/figures/beacon/src/four_antenna_setup.py +++ b/figures/beacon/src/four_antenna_setup.py @@ -71,8 +71,6 @@ def plot_four_antenna_geometry(tx, ants, extra_ant=None, ax=None, line_kwargs={} if ax is None: ax = plt.gca() ax.set_aspect('equal') - ax.set_xlabel("x") - ax.set_ylabel("y") line_kwargs = {**default_line_kwargs, **line_kwargs} scatter_kwargs = {**default_scatter_kwargs, **scatter_kwargs} @@ -155,6 +153,15 @@ if __name__ == "__main__": ax = plot_four_antenna_geometry(tx, ants, extra_ant=extra_ant) + if True: + ax.spines['top'].set_visible(False) + ax.spines['right'].set_visible(False) + ax.spines['bottom'].set_visible(False) + ax.spines['left'].set_visible(False) + + ax.tick_params(left=False, bottom=False, labelleft=False, labelbottom=False) + + fig = ax.get_figure() if args.fname is not None: