This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas | |
from matplotlib.figure import Figure | |
from PyQt4.QtGui import * | |
import numpy as np | |
import sys | |
class TemplateUI(QDialog): | |
def __init__(self): | |
# Create the ui |