Dear Mohit,
thanks a lot for your email.
> I am using ttk 0.9.8.
That version was released about four years ago and a lot has changed since.
I'd recommend to try to reproduce the issue with the latest version (1.2.0). If the problem persists, thanks for sending us the an example dataset that exemplifies the issue such that we can have a closer look into it.
> Because I was planning to install the latest version just to fix this but
> that'll be a big effort because I'll have to update the ubuntu too.
We provide binary packages (*deb) for Ubuntu 20.04 and 22.04, which are the official current long-term-support releases of Ubuntu.
I hope this helps.
Best regards,
--
Dr Julien Tierny
CNRS Researcher
Sorbonne Universite
https://julien-tierny.github.io/