In my application I let user change font size on runtime. Font size is properly propagated to QCustomPlot, however, due to caching, all ticks that were painted before keep the old font size. Also the axes labels are clipped. If the font is changed before plot creation everything works properly.
So here's my question: Is there any way to completely replot? Clearing all caches and stuff...