gdesk.panels.matplot.plotproxy module

class gdesk.panels.matplot.plotproxy.FigureBox(figure)

Bases: object

class gdesk.panels.matplot.plotproxy.PlotGuiProxy

Bases: gdesk.core.gui_proxy.GuiProxyBase

attach(gui)
category = 'plot'
static new(figure_id=None)

Create a new figure.

Links to pylab.figure

prepareplot()
static restore_gcf_set_active()
static save(file)

Save the selected figure to a file

static select(panid=- 1, args=())

If panid < 0, -1: select the active panel, -2: selected before that, … panid == None: new panel panid >= 0: select the panel if exists, otherwise a new with that number

show(figure=None, hold=False)
static show_figure_box(figurebox, hold=False)

Display the figure in the figurebox. The figure has to be added to the current pyplot backend.

Parameters

hold (bool) – Replace the figure in the current selected panel by the new figure

xy(*args, **kwargs)
class gdesk.panels.matplot.plotproxy.PlotProxy(gui)

Bases: object