Merge pull request #1577 from j9ac9k/cleanup-1573
Remove duplicate import and remove whitespace
This commit is contained in:
commit
a5a41cf8eb
|
@ -1129,7 +1129,7 @@ def makeARGB(data, lut=None, levels=None, scale=None, useRGBA=False, output=None
|
|||
raise Exception('levels argument is required for float input types')
|
||||
if not isinstance(levels, xp.ndarray):
|
||||
levels = xp.array(levels)
|
||||
levels = levels.astype(xp.float32)
|
||||
levels = levels.astype(xp.float64)
|
||||
if levels.ndim == 1:
|
||||
if levels.shape[0] != 2:
|
||||
raise Exception('levels argument must have length 2')
|
||||
|
|
|
@ -9,7 +9,6 @@ from .ScatterPlotItem import ScatterPlotItem
|
|||
from .. import functions as fn
|
||||
from .. import debug as debug
|
||||
from .. import getConfigOption
|
||||
import warnings
|
||||
|
||||
|
||||
class PlotDataItem(GraphicsObject):
|
||||
|
|
Loading…
Reference in New Issue
Block a user