The application failed to start because qt

broken image

# plot a 3D wireframe like in the example mplot3d/wire3d_demoĪx. Surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, cmap=cm.coolwarm,įig.colorbar(surf, shrink=0.5, aspect=10)Īx = fig.add_subplot(1, 2, 2, projection='3d') # plot a 3D surface like in the example mplot3d/surface3d_demo

broken image

# set up a figure twice as wide as it is tallįig = plt.figure(figsize=plt.figaspect(0.5))Īx = fig.add_subplot(1, 2, 1, projection='3d') > vers = Īs a minimal code to reproduce this error, you can run this: $ cat test_qt.pyĭemonstrate including 3D plots as subplots.įrom mpl_3d import Axes3D, get_test_data Type 'help', 'copyright', 'credits' or 'license' for more information. Invalid MIT-MAGIC-COOKIE-1 : could not connect to display :0 Reinstalling the application may fix this problem.Īvailable platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb. My config now: Windows 10, latest Python 3.6 64 bit Problem is: This application failed to start because it could not find or load the Qt platform plugin 'windows' in ''. This application failed to start because no Qt platform plugin could be initialized. Qt.qpa.plugin: Could not load the Qt platform plugin 'xcb' in '' even though it was found.

broken image

How should I solve this problem in Ubuntu 20.04? Invalid MIT-MAGIC-COOKIE-1 : could not connect to display :0

broken image