Open nebehr opened 1 year ago
PR #2275 is going to (partially) fix this: all drag tools (drag point, drag line, drag rect) will be used for auto-fit, unless no_fit=True
is specified for them. Unfortunately this does not apply to drawing API objects.
Version of Dear PyGui
Version: 1.8.0 Operating System: Windows 10
My Issue/Question
Double-click fit function in plots does not consider items such as drag points, drag lines and other elements drawn on it (such as lines and shapes), only actual data series.
To Reproduce
If a data series is added, plot will be redrawn on double click, but only to include data from the series.
Expected behavior
On double click plot should be redrawn to show all its children, not just data series.
Standalone, minimal, complete and verifiable example