Hi,

Does the technique in this thread work? Something similar, but change 
font.setFamily("Serif")
to 
font.setBold(True)

https://groups.google.com/forum/#!topic/pyqtgraph/TT6mGyLYKC0

Patrick

On Tuesday, 30 June 2020 02:01:43 UTC+9:30, Azar Jabbarli wrote:
>
> How can I make x axis ticks bold?
>
> plot_1 = pg.PlotWidget()
> plot_1.setBackground('w')
> pen = pg.mkPen(color="k", width=3, style=QtCore.Qt.SolidLine)
>
> plot_1 .setTitle("Title", color="k", size="18pt")
> plot_1 .plot(xvals, yvals, pen=pen)
> styles = {'color': 'r', 'font-size': '12px', 'font-weight': 'bold'}
> plot_1 .setLabel('bottom', 'X label', **styles)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyqtgraph+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/7da120e5-74b6-4053-b9c8-8b1a2aed6d72o%40googlegroups.com.

Reply via email to