Since the default baseline for a plot is 0.0, I would expect the area between the curve and the Y (X = 0) axis to be filled. Am I misunderstanding? I tried setting the baseline to 0 explicitly as well, but the result was the same.
My bad, it was simply a matter of setting the curve to vertical orientation with self.curve.setOrientation(Qt.Vertical). Sorry for the noise and not reading the docs close enough!
I'm drawing a test curve with:
And the result is:
Since the default baseline for a plot is 0.0, I would expect the area between the curve and the Y (X = 0) axis to be filled. Am I misunderstanding? I tried setting the baseline to 0 explicitly as well, but the result was the same.