Module Expr Str ImportFrom alias Import alias ImportFrom alias ImportFrom alias Import alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias Import alias identifier ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign NameStore ListLoad Num Num Num Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str Print Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num Assign NameStore BinOpPow NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr
N/A N/A 
A collection of widgets for gui building

Copyright: Jev Kuznetsov
License: BSD
 __future__ division N/A sys PyQt4.QtCore * PyQt4.QtGui * N/A numpy np matplotlib.backends.backend_qt4agg FigureCanvasQTAgg FigureCanvas matplotlib.backends.backend_qt4agg NavigationToolbar2QTAgg NavigationToolbar matplotlib.figure Figure N/A matplotlib.pyplot plt MatplotlibWidget N/A QWidget N/A __init__ N/A N/A self parent grid N/A None True N/A N/A N/A N/A QWidget __init__ self parent N/A N/A self grid grid N/A N/A self fig N/A Figure N/A N/A self canvas N/A FigureCanvas N/A self fig N/A N/A N/A N/A self canvas setParent self N/A N/A N/A N/A self canvas mpl_connect button_press_event N/A self onPick N/A margins N/A 0.05 0.1 0.9 0.8 N/A N/A self axes N/A N/A N/A self fig add_axes margins N/A N/A self toolbar N/A NavigationToolbar N/A self canvas self N/A layout N/A QVBoxLayout N/A N/A N/A layout addWidget N/A self toolbar N/A N/A N/A layout addWidget N/A self canvas N/A N/A N/A self setLayout layout N/A onPick N/A N/A self event N/A N/A N/A Pick event N/A you pressed N/A event button N/A event xdata N/A event ydata N/A update N/A N/A self N/A N/A N/A N/A N/A N/A self canvas draw N/A plot N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A self axes plot args kwargs N/A N/A N/A N/A self axes grid N/A self grid N/A N/A N/A self update N/A clear N/A N/A self N/A N/A N/A N/A N/A N/A self axes clear N/A initFigure N/A N/A self N/A N/A N/A N/A N/A N/A self axes grid True N/A x N/A N/A np linspace -1 1 N/A y N/A x 2 N/A N/A N/A N/A self axes plot x y o- N/A N/A PlotWindow N/A QMainWindow N/A N/A  a stand-alone window with embedded matplotlib widget  __init__ N/A N/A self parent N/A None N/A N/A N/A N/A N/A super PlotWindow self __init__ parent N/A N/A N/A self setAttribute N/A Qt WA_DeleteOnClose N/A N/A self mplWidget N/A MatplotlibWidget N/A N/A N/A self setCentralWidget N/A self mplWidget N/A plot N/A N/A self dataFrame N/A N/A N/A  plot dataframe  N/A N/A N/A dataFrame plot ax N/A N/A self mplWidget axes N/A getAxes N/A N/A self N/A N/A N/A N/A N/A self mplWidget axes N/A getFigure N/A N/A self N/A N/A N/A N/A N/A self mplWidget fig N/A update N/A N/A self N/A N/A N/A N/A N/A N/A self mplWidget update N/A N/A MainForm N/A QMainWindow N/A __init__ N/A N/A self parent N/A None N/A N/A N/A N/A QMainWindow __init__ self parent N/A N/A N/A self setWindowTitle Demo: PyQt with matplotlib N/A N/A self plot N/A MatplotlibWidget N/A N/A N/A self setCentralWidget N/A self plot N/A N/A N/A N/A self plot clear N/A N/A N/A N/A self plot plot N/A N/A N/A np random rand 10 x- N/A N/A N/A N/A __name__ __main__ N/A N/A app N/A QApplication N/A sys argv N/A form N/A MainForm N/A N/A N/A form show N/A N/A N/A app exec_