| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Another option is to warn or log.info.
Sorry, something went wrong.
|
(I'm in favor of actually throwing an exception, given that the resulting plot is just plain wrong.) |
Sorry, something went wrong.
|
I meant warn and not set the aspect ratio, not warn and do something buggy 😉 |
Sorry, something went wrong.
|
Right now we raise if someone does set_aspect("foobar"); I think passing "equal" to 3D axes is essentially the same. |
Sorry, something went wrong.
The NotImplemented error was caused by the fact that set_aspect now causes an error in matplotlib (see matplotlib/matplotlib#1077 and matplotlib/matplotlib#13474). Fixed by making the figure itself square such that the 3D axis are square. Also change the fortan module's name from p2ptrans to fmodules which prevented from importing p2ptrans as a python module.
| Back | FazBrowse Home | New Git URL |
See #1077. Until it is implemented properly, it seems reasonable to raise a NotImplementedError (and not a warning, because trying to set an equal aspect results in nonsense: #1077 (comment))