Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Benjamin Jakimow
EO Time Series Viewer
Commits
70ec3589
Commit
70ec3589
authored
Mar 30, 2013
by
Luke Campagnola
Browse files
Fix: make HistogramLUTWidget obey default background color
parent
5bb5c748
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyqtgraph/widgets/HistogramLUTWidget.py
View file @
70ec3589
...
...
@@ -13,7 +13,7 @@ __all__ = ['HistogramLUTWidget']
class
HistogramLUTWidget
(
GraphicsView
):
def
__init__
(
self
,
parent
=
None
,
*
args
,
**
kargs
):
background
=
kargs
.
get
(
'background'
,
'
k
'
)
background
=
kargs
.
get
(
'background'
,
'
default
'
)
GraphicsView
.
__init__
(
self
,
parent
,
useOpenGL
=
False
,
background
=
background
)
self
.
item
=
HistogramLUTItem
(
*
args
,
**
kargs
)
self
.
setCentralItem
(
self
.
item
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment