mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m.internship-documentation.git
synced 2024-11-12 18:43:30 +01:00
figure: antenna_setup remove spines
This commit is contained in:
parent
2a9572d0dc
commit
6d0a59c7b6
1 changed files with 9 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue