Skip to content

Commit

Permalink
[timeplot] tried to use palette for setting label colors
Browse files Browse the repository at this point in the history
  • Loading branch information
janscience committed Sep 12, 2024
1 parent b545c05 commit 72863f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/audian/timeplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
class TimePlot(RangePlot):

def __init__(self, aspec, channel, browser, xwidth, ylabel=''):

# text color:
#text_color = self.palette().color( QPalette.WindowText )
# TODO: palette() can not be called within constructor.
# We need some late initialization of the colors.

# axis:
bottom_axis = TimeAxisItem(orientation='bottom', showValues=True)
Expand Down

0 comments on commit 72863f8

Please sign in to comment.