example update

This commit is contained in:
Luke Campagnola 2012-04-18 00:09:37 -04:00
parent 4eadccdcc1
commit 4954b19931
2 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,8 @@ roi.sigRegionChanged.connect(update)
## Display the data
imv1.setImage(data)
imv1.setHistogramRange(data.min(), data.max())
imv1.setHistogramRange(-0.01, 0.01)
imv1.setLevels(-0.003, 0.003)
update()

View File

@ -15,6 +15,7 @@ examples = OrderedDict([
('Crosshair / Mouse interaction', 'crosshair.py'),
('Video speed test', 'VideoSpeedTest.py'),
('Plot speed test', 'PlotSpeedTest.py'),
('Data Slicing', 'DataSlicing.py'),
('GraphicsItems', OrderedDict([
('Scatter Plot', 'ScatterPlot.py'),
#('PlotItem', 'PlotItem.py'),