graphics Package

graphics Package

mplotlab.graphics.newWxPlotFrame()
mplotlab.graphics.newWxPlotPanel(parent)

ConfigPanel Module

class mplotlab.graphics.ConfigPanel.ConfigPanel(parent)

Bases: wx._windows.Panel

setProperties()
updateFigure(event)
updatePage(modelSel)

GraphicBook Module

class mplotlab.graphics.GraphicBook.GraphicBook(parent)

Bases: wx._windows.Panel

createGraphicPanel(slide)

Create the graphic panel for the slide if necessary and select it. There cannot be 2 graphic panels for the same slide

getCurrentSlide()
getGraphicPanels()
getGraphicSlides()
layout()
updateBook()

Delete graphicPanel pages that refer to 'obselete' slide And update book page name from its slide name

GraphicCtlr Module

class mplotlab.graphics.GraphicCtlr.GraphicCtlr(canvas)

Bases: object

control(zoom=True, pan=False)

GraphicPanel Module

class mplotlab.graphics.GraphicPanel.GraphicPanel(parent)

Bases: wx._windows.Panel

OnPaint(event)
build(*args, **kwargs)
control()
draw()
getCanvas()
getFigure()
getGraphicCtrl()
getSlide()
setSlide(slide)

MainWin Module

class mplotlab.graphics.MainWin.MainWin

Bases: wx._windows.Frame

GetStartPosition()
OnAbout(event)
OnClose(event)
OnCreatePerspective(event)
OnEraseBackground(event)
OnExit(event)
OnLoadXml(event)
OnRestorePerspective(event)
OnSaveXml(event)
OnSize(event)
getContainer()
showSlide(slide)
showSlideSel()

Navigation Module

class mplotlab.graphics.Navigation.Cursors
HAND = 0
MOVE = 3
POINTER = 1
SELECT_REGION = 2
class mplotlab.graphics.Navigation.Navigation(*a, **k)

Bases: matplotlib.backend_bases.NavigationToolbar2

draw_rubberband(event, x0, y0, x1, y1)
dynamic_update()
press(event)
release(event)
set_cursor(cursor)
set_message(s)

display in the status bar the mouseover data (x,y)

PyObjectProperty Module

class mplotlab.graphics.PyObjectProperty.PyObjectProperty(label, name='@!', value=None)

Bases: wx.propgrid.PyProperty

GetClassName()
GetEditor()
StringToValue(s, flags)
ValueToString(value, flags)
class mplotlab.graphics.PyObjectProperty.PyObjectPropertyValue(s=None)

ShellPanel Module

class mplotlab.graphics.ShellPanel.ShellPanel(parent)

Bases: wx.py.shell.Shell

refreshLocals(**dlocals)

TreePanel Module

class mplotlab.graphics.TreePanel.TreePanel(parent, configPanel)

Bases: wx._controls.TreeCtrl

OnSelChanged(event)
getSlideSelected()
updateTree()