You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for this wrapper, it is quite useful.
When I open (and then close) a certain amount of plotWindow(), python crashes with error QGuiApplication::font(): no QGuiApplication instance and no application font set.
I know very little about PyQt5, and everything I tried did not work. Would you be able to provide this fix?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Sure! This crashes before the 3rd window is opened.
from plotWindow import plotWindow
import matplotlib.pyplot as plt
import numpy as np
for n in range(3):
pw = plotWindow()
x = np.arange(0, 10, 0.001)
for i in range(1,3):
f = plt.figure()
ysin = np.sin(i*x)
plt.plot(x, ysin, '--')
pw.addPlot(str(i), f)
pw.show()
Hi,
Thank you for this wrapper, it is quite useful.
When I open (and then close) a certain amount of plotWindow(), python crashes with error
QGuiApplication::font(): no QGuiApplication instance and no application font set.
I know very little about PyQt5, and everything I tried did not work. Would you be able to provide this fix?
Thanks in advance.
The text was updated successfully, but these errors were encountered: