Example how to change ticks fontsize

40 views
Skip to first unread message

Grégoire R.

unread,
Jan 20, 2017, 9:04:50 AM1/20/17
to pyqtgraph
Hi,

I am struggling to change the ticks font size on my graph.
I saw the post where it is indicated to use the setStyle function with the keyword 'tickFont' but I can not figure out how to use it properly.
So if create my graph:

        self.my_plot = pg.PlotWidget()
       
        self.my_plot.setStyle(xxx)

Can someone please indicate me what I should put instead of xxx to have for example a fontsize twice bigger compared to the original one ?

Thanks for your help

Grégoire R.

unread,
Jan 29, 2017, 2:42:11 PM1/29/17
to pyqtgraph
Reply all
Reply to author
Forward
0 new messages