You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my app I'd like to able to switch X-axis labels between DateAxisItem and my custom AxisItem. While implementing this, I've noticed that adding DateAxisItem to multiple plots seem to be broken, or at least not working as expected.
My analysis seems to point to generateDrawSpecs, which is for some reason producing incorrect width (too small) for the axis (for the second plot), which then causes rest of the pipeline to produce no tick labels.
Short description
In my app I'd like to able to switch X-axis labels between
DateAxisItem
and my customAxisItem
. While implementing this, I've noticed that addingDateAxisItem
to multiple plots seem to be broken, or at least not working as expected.Code to reproduce
Expected behavior
The timer toggles between
DateAxisItem
andAxisItem
, both plots always have same labels.Real behavior
Only first plot is showing correct tick labels when using
DateAxisItem
. Both plots showing correct tick labels withAxisItem
.Tested environment(s)
0.13.4
PySide6 6.6.2 Qt 6.6.2
Python 3.11.6
1.26.4
Ubuntu 23.10
pip/venv
The text was updated successfully, but these errors were encountered: