Hey I'm not sure if I'm posting correctly on here or if this thread is active anymore.
"QWidget: Must construct a QApplication before a QWidget".
If anyone know how to construct a simple example that can produce a pcolor-like result in pyqtgraph that would be greatly appreciated. As an example, the script below can be ran on its own using Python 3.6 numpy 1.14 and matplotlib 2.2 to produce the image example pcolor_plot.png
import numpy as np
import matplotlib.pyplot as plt
x = np.array([[1,1,1,1],[2,2,2,2],[3,3,3,3],[4,4,4,4],[5,5,5,5]])
y = np.array([[4,8,12,16],[2,4,6,8],[3,6,9,12],[5,10,15,20],[6,12,18,24]])
z = np.array([[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,16],[17,18,19,20]])
plt.pcolor(x, y, z)
plt.show()