Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo.py error #47

Open
chenkaixin66 opened this issue Aug 21, 2021 · 3 comments
Open

demo.py error #47

chenkaixin66 opened this issue Aug 21, 2021 · 3 comments

Comments

@chenkaixin66
Copy link

When I run demo.py , the error happened.

Traceback (most recent call last):
File "C:/Users/123/Desktop/EpipolarPose-master/EpipolarPose-master/demo.py", line 62, in
ax = fig.add_subplot('122', projection='3d', aspect=1)
File "F:\ana\lib\site-packages\matplotlib\figure.py", line 1414, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "F:\ana\lib\site-packages\matplotlib\axes_subplots.py", line 69, in init
self._axes_class.init(self, fig, self.figbox, **kwargs)
File "F:\ana\lib\site-packages\mpl_toolkits\mplot3d\axes3d.py", line 101, in init
super().init(fig, rect, frameon=True, *args, **kwargs)
File "F:\ana\lib\site-packages\matplotlib\axes_base.py", line 509, in init
self.update(kwargs)
File "F:\ana\lib\site-packages\matplotlib\artist.py", line 974, in update
ret = [_update_property(self, k, v) for k, v in props.items()]
File "F:\ana\lib\site-packages\matplotlib\artist.py", line 974, in
ret = [_update_property(self, k, v) for k, v in props.items()]
File "F:\ana\lib\site-packages\matplotlib\artist.py", line 971, in _update_property
return func(v)
File "F:\ana\lib\site-packages\matplotlib\axes_base.py", line 1281, in set_aspect
'It is not currently possible to manually set the aspect '
NotImplementedError: It is not currently possible to manually set the aspect on 3D axes

@crowdin001
Copy link

先把那个3D的注释掉,先看2D能不能成功运行,然后你再改改3D显示的语句。

@mzy12345678
Copy link

@chenkaixin66
Hello, where is the demo.py file? I only found demo.ipynb.py

@khw11044
Copy link

ax = fig.add_subplot('122', projection='3d', aspect='auto')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants