TclError: no display name and no $DISPLAY environment variable

%matplotlib inline

%matplotlib notebook

原文地址:https://www.cnblogs.com/fengwenit/p/6109480.html