similliar bug
after set few multiaxes (yLeft ) and change their color by using set palette ( with using stylesheet for all widget - without set style everything works fine ) changed is only one scale (color)
call function to set new one ( by push button click - after some part of time - probably event get update)
Not sure how this might be comparable to the bug above.

old scales get change their color but - new added not - replot update etc. in this function do not work.
I workaround this by changing color by set style for scale widget - but in future better way is to set this by paletts.
Setting a palette and how new widgets are initialized is part of the Qt framework. Setting a palette to one scale widget of course doesn't affect the palette of another scale widget, but setting a palette to the parent of the scale widgets ( the plot widget itself ) would have an effect. When also setting a palette to legend and titles ( the canvas usually has its own ) and no palette to the scales, then only the scale widgets - but all of them - would inherit the palette from the plot widget.

When working with style sheets you might be interested in the names of the scale widgets:


  • "QwtPlotAxisYLeft", "QwtPlotAxisYLeft1", " "QwtPlotAxisYLeft2" ...
  • "QwtPlotAxisYRight", "QwtPlotAxisYRight1", "QwtPlotAxisYRight2", ...
  • "QwtPlotAxisXBottom", "QwtPlotAxisXBottom1", "QwtPlotAxisXBottom2", ...
  • "QwtPlotAxisXTop", "QwtPlotAxisXTop1", "QwtPlotAxisXTop2"



HTH,
Uwe