You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run a plot function from a .py file we get the error "plt not defined". Thereby is seems as if "matplotlib.pyplot" hasn't been loaded. It works fine when we run in a notebook.
The text was updated successfully, but these errors were encountered:
Is there a way to avoid having to import libraries in both the notebook and the script. It does not seem to work even though we import the script after the libraries?
When trying to run a plot function from a .py file we get the error "plt not defined". Thereby is seems as if "matplotlib.pyplot" hasn't been loaded. It works fine when we run in a notebook.
The text was updated successfully, but these errors were encountered: