label-studio
label-studio copied to clipboard
Title classes are recreated on top of the old ones
Describe the bug For a time series plot moving the sliding window, changing the scale of the plot creates new title objects drawn on top of each other, without removing the old ones. Leading to a build up of 100s of title objects if working on the same data set for a while
In the yaxis class
To Reproduce Steps to reproduce the behavior:
- Create a time series plot with a range of data that lets the scale adjust
- use google console to inspect the yaxis class
- drag the grey window box, see the tick classes being redrawn and the title class being recreated on top of the older ones
Expected behavior The title class should either remain static or if needed to change be destroyed then recreated
Screenshots

Environment (please complete the following information):
- OS: Windows, chrome
- Label Studio Version: Docker version 1.0.2
@hlomzik Check it please!