-
Notifications
You must be signed in to change notification settings - Fork 28
Description
no display name and no $DISPLAY environment variable
Traceback (most recent call last):
File "main.py", line 22, in
run();
File "main.py", line 17, in run
plate.plateSearch(characters_array);
File "/home/shah256/LiPlate/modules/Plate.py", line 39, in plateSearch
self.showResults();
File "/home/shah256/LiPlate/modules/Plate.py", line 139, in showResults
plt.figure(self.plate_number);
File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 548, in figure
**kwargs)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/backend_bases.py", line 161, in new_figure_manager
return cls.new_figure_manager_given_figure(num, fig)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/_backend_tk.py", line 1044, in new_figure_manager_given_figure
window = Tk.Tk(className="matplotlib")
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1818, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable