Skip to content

couldn't connect to display "unix:0" #1

@chengyh23

Description

@chengyh23

In plot function:

Traceback (most recent call last):
File "main.py", line 23, in
main()
File "main.py", line 15, in main
experiment.eval()
File "/mapping_ipp_framework/experiments/experiments.py", line 503, in eval
self.plot_num_waypoints(save_path=os.path.join(plots_folder, "num_waypoints.png"))
File "/mapping_ipp_framework/experiments/experiments.py", line 284, in plot_num_waypoints
palette=self.get_color_palette(),
File "/opt/conda/lib/python3.7/site-packages/seaborn/_decorators.py", line 46, in inner_f
return f(**kwargs)
File "/opt/conda/lib/python3.7/site-packages/seaborn/categorical.py", line 2248, in boxplot
ax = plt.gca()
File "/opt/conda/lib/python3.7/site-packages/matplotlib/pyplot.py", line 926, in gca
return gcf().gca(**kwargs)
File "/opt/conda/lib/python3.7/site-packages/matplotlib/pyplot.py", line 610, in gcf
return figure()
File "/opt/conda/lib/python3.7/site-packages/matplotlib/pyplot.py", line 545, in figure
**kwargs)
File "/opt/conda/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 3261, in new_figure_manager
return cls.new_figure_manager_given_figure(num, fig)
File "/opt/conda/lib/python3.7/site-packages/matplotlib/backends/_backend_tk.py", line 950, in new_figure_manager_given_figure
window = tk.Tk(className="matplotlib")
File "/opt/conda/lib/python3.7/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 "unix:0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions