AnsweredAssumed Answered

matplotlib under Yocto to display result

Question asked by Erik Raynolds on Nov 27, 2018
Latest reply on Feb 21, 2020 by Timofey Babitskiy

I am trying to use matplotlib and display result, I have yocto based image with xWayland backend (fsl-image-qt5).


import numpy as np
import matplotlib.pyplot as plt

x = np.linspace(-np.pi, np.pi, 256, endpoint=True)
c, s = np.cos(X), np.sin(X)

plt.plot(x, c)
plt.plot(x, s)


After running this script plot is not displayed. How to make it display window?