I was trying to run my simulation through the Jupyter lab terminal, but the I was complained about the issue below while it was running my script.
2021-07-01 16:05:02 ERROR: Shutdown on exception
Traceback (most recent call last):
File "IF_cond_exp_adap_thres_example.py", line 64, in <module>
Panel(test_pop_v.segments[0].filter(name='v')[0],xticks=True,yticks=True, ylabel='Voltage', xlim=(0,run_time))
File "/home/spinnaker/sPyNNakerGit/lib/python3.6/site-packages/pyNN/utility/plotting.py", line 193, in __init__
self.fig = plt.figure(1, figsize=(width, height))
File "/home/spinnaker/sPyNNakerGit/lib/python3.6/site-packages/matplotlib/pyplot.py", line 546, in figure
**kwargs)
File "/home/spinnaker/sPyNNakerGit/lib/python3.6/site-packages/matplotlib/backend_bases.py", line 3358, in new_figure_manager
return cls.new_figure_manager_given_figure(num, fig)
File "/home/spinnaker/sPyNNakerGit/lib/python3.6/site-packages/matplotlib/backends/_backend_tk.py", line 888, in new_figure_manager_given_figure
window = tk.Tk(className="matplotlib")
File "/usr/lib/python3.6/tkinter/__init__.py", line 2023, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: couldn't connect to display ":0"
These log messages where generated at level WARNING or above
/home/spinnaker/sPyNNakerGit/sPyNNaker8NewModelTemplate/examples/reports has 5 old reports that have not been closed
Shutdown on exception