From 4954b1993188c581806ba16965a87cb1b1643e29 Mon Sep 17 00:00:00 2001 From: Luke Campagnola <> Date: Wed, 18 Apr 2012 00:09:37 -0400 Subject: [PATCH] example update --- examples/DataSlicing.py | 3 ++- examples/__main__.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/DataSlicing.py b/examples/DataSlicing.py index a9e910be..25b6fbd3 100644 --- a/examples/DataSlicing.py +++ b/examples/DataSlicing.py @@ -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() diff --git a/examples/__main__.py b/examples/__main__.py index 632f516a..49c4ae50 100644 --- a/examples/__main__.py +++ b/examples/__main__.py @@ -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'),