I just finished the Off-Platform “Orion-Consetllation”. You can look up the Jupyter Notebook output and code on my Github:
In the last cell (4. Create a 3D Visualization) the instructions tell me to create another variable called “constellation3d”.
After seeing the solution of another user “kpat”. I went back and wanted to at least label my axis. I quickly realized that “plt.zlabel” does not work. When I looked up kpat’s solution again I saw, that he used “.set_zlabel” to set the z-axis label. I figured, that this is probably why the variable needs to be created and it did work.
My questions are:
- What is the variable “constellation3d” really needed for?
- Why does “plt.zlabel” not work?
- What difference is there between plt.xlabel and .set_xlabel?
- Why do all points appear to be the same hight, altough we have distinct z-values?
Also feel free to give me any tips on how to post on this forum. Is the github link sufficient, or should I include a codebyte the next time around?
Looking forward on your feedback! Cheers