Issue310 more robust warning for out of vessel los#311
Conversation
flothesof
left a comment
There was a problem hiding this comment.
I've just looked at your commit.
It looks alright to me.
However, encapsulating with a try except something that should work and actually help the user debug his camera is of great value.
It turns out that the 3D axis does not support the axis = equal option (see matplotlib/matplotlib#15382).
So fixing this instead of putting it into a try/except block would be a better way to address this, don't you think?
I'd advocate for fixing this at the core instead of your proposal.
|
I've just found out where the problem is. Taking out line 167 in tofu/geom/_def.py solves the issue. Line 167 in 2d9b183 I'm also thinking it would be great to add a unit test with a camera that has missing LOS so that our tests checks that the debug plot works. |
|
Should we close this PR then ? |
|
Yes, you're right, PR #313 will do, this one is no use anymore |
Main changes:
Issues: