spike.Display package

Submodules

spike.Display.fakeplot module

fakeplot.py

This library allows to fake the matplotlib.plot module where it has not been installed.

Created by Marc-André on 2010-03-22. Copyright (c) 2010 IGBMC. All rights reserved.

spike.Display.fakeplot.contour(*args, **key)[source]
spike.Display.fakeplot.contourf(*args, **key)
spike.Display.fakeplot.errorbar(*args, **key)[source]
class spike.Display.fakeplot.fake(*args, **key)[source]

Bases: object

fake figure object

add_subplot(*args, **key)[source]
contour(*args, **key)[source]
contourf(*args, **key)
errorbar(*args, **key)[source]
figure(*args, **key)[source]
grid(*args, **key)[source]
hist(*args, **key)[source]
legend(*args, **key)[source]
loglog(*args, **key)[source]
plot(*args, **key)[source]
semilogx(*args, **key)[source]
semilogy(*args, **key)[source]
set_title(*args, **key)[source]
set_xlabel(*args, **key)
set_xscale(*args, **key)[source]
set_xticklabels(*args, **key)[source]
set_ylabel(*args, **key)
set_yscale(*args, **key)[source]
set_yticklabels(*args, **key)[source]
show(*args, **key)[source]
suptitle(*args, **key)[source]
text(*args, **key)[source]
title(*args, **key)[source]
xlabel(*args, **key)[source]
xlim(*args, **key)[source]
xscale(*args, **key)[source]
ylabel(*args, **key)[source]
ylim(*args, **key)[source]
yscale(*args, **key)[source]
spike.Display.fakeplot.figure(*args, **key)[source]
spike.Display.fakeplot.gca()[source]
spike.Display.fakeplot.grid(*args, **key)[source]
spike.Display.fakeplot.hist(*args, **key)[source]
spike.Display.fakeplot.legend(*args, **key)[source]
spike.Display.fakeplot.loglog(*args, **key)[source]
spike.Display.fakeplot.plot(*args, **key)[source]
spike.Display.fakeplot.semilogx(*args, **key)[source]
spike.Display.fakeplot.semilogy(*args, **key)[source]
spike.Display.fakeplot.show(*args, **key)[source]
spike.Display.fakeplot.subplot(*args, **key)[source]
spike.Display.fakeplot.suptitle(*args, **key)[source]
spike.Display.fakeplot.text(*args, **key)[source]
spike.Display.fakeplot.title(*args, **key)[source]
spike.Display.fakeplot.xlabel(*args, **key)[source]
spike.Display.fakeplot.xlim(*args, **key)[source]
spike.Display.fakeplot.xscale(*args, **key)[source]
spike.Display.fakeplot.ylabel(*args, **key)[source]
spike.Display.fakeplot.ylim(*args, **key)[source]
spike.Display.fakeplot.yscale(*args, **key)[source]

spike.Display.testplot module

testplot

allow to import either matplotlib.pyplor or fakeplot depending on the PLOT flag

usage:

import Display.testplot as testplot testplot.PLOT = False # eventually plt = testplot.plot()

Created by Marc-André on 2012-10-03. Copyright (c) 2012 IGBMC. All rights reserved.

spike.Display.testplot.plot()[source]

import the current plotpackage usage:

import spike.Display.testplot as testplot plt = testplot.plot()

then use plt as matplotlib

spike.Display.testplot.plotname()[source]

returns current plot package name

Module contents

Small Utilities

The real display engine is in NPKData display()

Created by Marc-André on 2011-03-20. Copyright (c) 2011 IGBMC. All rights reserved.

spike.Display.main()[source]