Welcome to the Nengo Forum!
If you’re running your code in the Nengo GUI, then you do not need to worry about creating a
Simulator object. The GUI will do this for you. If you do have a
Simulator call in your code, that’s okay; the GUI will just stop executing your code at that point, and make its own
Simulator object. Just click the “play” button (right-pointing arrow) in the bottom right corner to start your simulation. You’ll also have to right-click on some objects in the visualization of your network to request plots for them. When you start Nengo GUI without loading a file (e.g. by typing
nengo at the command line), it should pop up a basic example of a small network. Here you can try right-clicking on network objects to request additional plots. Also, the Basic Usage section of the README gives an outline of how to use the GUI.
%matplotlib inline call is only necessary if you are running in a Jupyter Notebook. In that case, then it should work as
%matplotlib inline. What it does is make sure that any plots you create appear in-line in the notebook, rather than as separate windows.
If you’re not running in a Jupyter Notebook (for example, you’re just calling the script from the command line with something like
python your_script_here.py), then you don’t need any of that (i.e. none of the
get_ipython().magic(‘matplotlib inline’) stuff, either). Outside of Notebooks, though, you’ll need to make sure you either save your plots to files or use
plt.show() to pop up windows with your plots. For more information about using Matplotlib, see this written tutorial or this video tutorial.