I don’t have to call Julia methods, but I used Julia directly and its doesn’t work.
For example, I just used ‘using GLMakie’ in a python3, but it has the same error in the picture above.
How do I use julia directly? Thanks!
Well using GLMakie is Julia syntax, which of course is not understood by the Python parser. If you want to use Julia syntax you have to use Julia rather than Python, i.e. run a Julia kernel in your Jupyter notebook (via IJulia)
which also has a section on using Jupyter in Visual Studio Code, which is quite nice. (Using only Jupyter is at the bottom of the tutorial at section 1.10)
You have to use Julia syntax. In your example you are using Python, Numpy, and matplotlib syntax (like np.sin() and plt.figure()). Check out the Makie basic tutorials and examples for how to make plots: Makie homepage