Smart Label Positioning
By Kshitij Aucharmal • 1 minute read •
Table of Contents
Motivation
I wanted to take part in #Hacktoberfest this time, and had found this issue. The issue was that the labels overlap, making them harder to read and understand when close together.
Pull request
I created Pull Request with the changes, showcasing the changes as follows:
Usage:
(Taken straight from the v0.25.0
Changelog)
Introducing Smart Labels! When smart_position is set for LabelAnnotator, RichLabelAnnotator or VertexLabelAnnotator, the labels will move around to avoid overlapping others. (#1625)
=
=
=
=
=
=
Acceptance
The PR was accepted before #Hacktoberfest
was over, and is now part of the v0.25.0
release of supervision