How do I add the text output from the console to the PyQTwindow?
The code below runs a heart disease predictor program and theresults are presented by a graph that is generated and shown in thePyQT window. However, we also need the interpretation of theresults to be displayed in the dialog box along with the graph.Please help.
import sysfrom PyQt5.QtWidgets import QDialog, QApplication, QPushButton, QVBoxLayoutfrom numpy import genfromtxtimport numpy as npimport matplotlibmatplotlib.use(‘Agg’)import matplotlib.pyplot as pltfrom sklearn.svm import LinearSVCfrom sklearn.decomposition import PCAimport pylab as plfrom itertools import cyclefrom sklearn import cross_validationfrom sklearn.svm import SVCfrom matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvasfrom matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as
PayPal Gateway not configured
PayPal Gateway not configured