Skip to content
Advertisement

Tag: scale

How to remove scale value from tkinter Scale widget display?

I am trying to use a tkinter Scale widget in an application and whenever I set the tickinterval attribute, a value is displayed below the slider. Is there a way to suppress the display of scale values below the slider and still specify the tickinterval? My use case is to create a non-linear slider where scale values 0-6 map to

Create automatic tick labels for a tkinter scale

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: When creating a plot with matplotlib, this happens by default and even gets updated when changing the size of the plot window.

Advertisement