partmor / ezaero

ezaero - Easy aerodynamics in Python :airplane:

Home Page:https://ezaero.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider using plotly for 3D visualizations

jorgepiloto opened this issue · comments

Thank you for this awesome package! I was coding my own VLM (due to academical reasons) when just discovered ezaero and would like to extend some of its capabilities.

At the moment, three dimensional visualizations are based on matplotlib. From my point of view, we should keep matplotlib for 2D visualization and use plotly as an interactive display. I've already implemented this feature, see the final result in the figure below this lines. The final figure is completely customizable and be rendered directly in the documentation of the project.

newplot (7)

Would you like me to open associated pull request, @partmor?

Hi @jorgepiloto !

Thank you very much for opening this issue.

Absolutely, please go ahead with the pull request! :)

In actual fact it's been a while since I've added new functionality to the package (time time time...) but your issue has boosted my motivation to allocate some time to leisure programming ;) I was planning to jump into the implementation of the non-stationary 3D VLM

Thanks a lot for the feedback! I will be working with this package till the end of the next month. All ploters have benn switched to plotly, except the cl_distribution_plotter, which stills requires from a colorscale to be placed next to the figure.... Hope to open a pull request tomorrow 🚀

newplot (12)

It looks gorgeous! ^^