Removed axes3ds dependency.

This commit is contained in:
spencerfolk
2023-12-15 11:00:30 -05:00
parent 2b3df3e5f9
commit 53ccb003dd
7 changed files with 72 additions and 185 deletions

View File

@@ -289,7 +289,6 @@ if __name__ == '__main__':
import argparse
from pathlib import Path
import matplotlib.pyplot as plt
from rotorpy.axes3ds import Axes3Ds
parser = argparse.ArgumentParser(description='Display a map file in a Matplotlib window.')
parser.add_argument('filename', help="Filename for map file json.")
@@ -299,7 +298,7 @@ if __name__ == '__main__':
world = World.from_file(file)
fig = plt.figure(f"{file.name}")
ax = Axes3Ds(fig)
ax = fig.add_subplot(projection='3d')
world.draw(ax)
plt.show()