How to set the PlotWidget Tick Color in PyQt5?

Viewed 1548

I'm trying to set the style the axis of a pyqtgraph.PlotWidget plotting area. I'm using:

font = QFont()
font.setPointSize(14)
font.setBold(True)
font.setWeight(75)

myPlotWidget.getAxis('left').setPen('b')
myPlotWidget.getAxis('left').setFont(font)

and I don't understand why the tick label color is not blue while the axis, grid and axis labels are.

enter image description here

1 Answers
Related