no no, it is to change the color and font of the labels for example if we have displayed "time" on the x-axis and "temperature" on the y-axis ". How to change the color and font of the" time "labels and "temperature". thank you.
Le dimanche 17 janvier 2021 à 02:50:44 UTC, Patrick a écrit : > 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/0abe0ffb-a3f5-4c9d-8d01-3f650bc1dcd5n%40googlegroups.com.
