Show
Ignore:
Timestamp:
08/06/09 11:41:31 (3 years ago)
Author:
apdavison
Message:

Small fix due to a change in more recent versions of matplotlib

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/signals/spikes.py

    r415 r416  
    13081308            xaxis = xaxis[:-1] 
    13091309        else: 
    1310             values, xaxis = numpy.histogram(isis, bins=bins, normed=True) 
     1310            values, xaxis = numpy.histogram(isis, bins=bins, normed=True, new=True) 
    13111311        subplot       = get_display(display) 
    13121312        if not subplot or not HAVE_PYLAB: 
     
    14031403            xaxis = xaxis[:-1] 
    14041404        else: 
    1405             values, xaxis = numpy.histogram(cvs, bins=bins, normed=True) 
     1405            values, xaxis = numpy.histogram(cvs, bins=bins, normed=True, new=True) 
    14061406        subplot       = get_display(display) 
    14071407        if not subplot or not HAVE_PYLAB: