Hi,

Does AxisItem setTextPen() 
<https://pyqtgraph.readthedocs.io/en/latest/graphicsItems/axisitem.html#pyqtgraph.AxisItem.setTextPen>
 
do what you want?

So something like this:
plot.getAxis("left").setTextPen((255, 0, 0))

Patrick
On Sunday, 17 January 2021 at 11:24:07 am UTC+10:30 [email protected] 
wrote:

> Hi
> how to change the color and font of axis and title labels in a PlotItem. 
> thank you so much
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/6210ab6a-1c37-4d24-a45c-48493519a1d9n%40googlegroups.com.

Reply via email to