I created a script which just asks a user for their name and age using Python’s input() function. I installed the package Script. This ran the script well but couldn’t deal with the input. I have also tried a number of other options but haven’t had any success. Any ideas how to build and execute scripts from within Atom? I
Tag: atom-editor
IPython, “name ‘plt’ not defined”
I recently installed Atom as an IDE on my laptop, for university. I installed Hydrogen as a convenient solution to show some plots on the go. But whenever I run Hydrogen, I get this error: However Matplotlib is working properly when executed normally, and IPython seems to do as well. This is the code I’m trying to run test-wise: A
Importing matplotlib.pyplot in atom editor
I am using pyzo to run my python scripts. However I felt the need to switch over to the Atom code editor. I can run my python scripts without any problem. At one point I need to use the library matplotlib. In pyzo I would do: But it doesn’t work in Atom Error message: Traceback (most recent call last): File