Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(6)  |  Derive(0)  |  Import(2)

src/n/e/NeuroTools-0.2.0/src/signals/spikes.py   NeuroTools(Download)
 
from NeuroTools.io import *
from NeuroTools.plotting import get_display, set_axis_limits, set_labels, SimpleMultiplot, progress_bar
from pairs import *
from intervals import *
            xmin, xmax, ymin, ymax = subplot.axis()
            subplot.plot([0,0],[ymin, ymax], c='r')
            set_axis_limits(subplot, -t_min, t_max, ymin, ymax)
            pylab.draw()
        return result
            max_id = numpy.max(spk.id_list)
            length = t_stop - t_start
            set_axis_limits(subplot, t_start-0.05*length, t_stop+0.05*length, min_id-2, max_id+2)
            pylab.draw()
 
            xmin, xmax, ymin, ymax = subplot.axis()
            subplot.plot([0,0],[ymin, ymax], c='r')
            set_axis_limits(subplot, -t_min, t_max, ymin, ymax)
            pylab.draw()
        if average:

src/n/e/NeuroTools-0.2.0/src/signals/analogs.py   NeuroTools(Download)
from NeuroTools import check_dependency, check_numpy_version
from NeuroTools.io import *
from NeuroTools.plotting import get_display, set_axis_limits, set_labels, SimpleMultiplot
 
HAVE_MATPLOTLIB = check_dependency('matplotlib')
 
            subplot.plot([0,0],[ymin, ymax], c='r')
            set_axis_limits(subplot, -t_min, t_max, ymin, ymax)
            pylab.draw()
 

src/n/e/NeuroTools-0.2.0/test/test_plotting.py   NeuroTools(Download)
        x = range(10)
        pylab.plot(x)
        plotting.set_axis_limits(pylab, 0., 123., -123., 456.)
 
        # set up a SimpleMultiplot with arbitrary values
        scaling = ('linear','log')
        self.smt = plotting.SimpleMultiplot(nrows=self.nrows, ncolumns=self.ncolumns, title=title, xlabel=xlabel, ylabel=ylabel, scaling=scaling)
        plotting.set_axis_limits(self.smt.panel(0), 0., 123., -123., 456.)