I want to create a scale with tick labels that are automatically chosen so they fit on to the scale without interfering with each other.
Here is an example code for crating one that resizes with the window:
from tkinter import *
window = Tk()
scale = Scale(from_=1, to=1000, orient=HORIZONTAL)
scale.pack(fill=X)
window.mainloop()
When creating a plot with matplotlib, this happens by default and even gets updated when changing the size of the plot window.
Is there a way to accomplish the same for a tkinter scale widget? The result should look something like this:

