Skip to content
Advertisement

Tag: label

How to *Rotate* labels in a Seaborn PairGrid?

The columns in my dataframe has long names, so when I make a pairplot, the labels overlaps one another. I would like to rotate my labels 90 degrees, so they don’t collide. I tried looking up online and documentation, but could not find a solution. Here is something I wrote & the error message: How can I rotate labels (both

How to delete a label from tkinter after a countdown

I am trying to create a ten-second countdown that removes itself after it reaches zero. How and where do I put code to remove the label? I have experimented with label.destroy() and label.forget(), but they do not work, creating an error message, most likely because they do not exist. I was hoping for the program to delete the label after

Labels with no background tkinter

I’m making a tkinter app with a background image and three labels. The problem that I have is that these labels have a white background and I don’t want that. I want to make like a “png” label, with no background. First, I tried to put this line of code: But it didn’t work, literally, the label was a hole.

PyQt Label not changing text

I have this code running on a PyQt window on windows: Inside the “runSimulation” code I start a subprocess using the method “call”. This blocks my GUI and at the title of the window appears “Python stopping responding”, but if I wait a little bit the subprocess finishes normally, and the label is finally changed. But what I want is

How do we dynamically change the text in label widget of Tkinter according to the change of subscribed topic message?

I wanted to change the text of my label according to the topic message to which my node subscribes. But the problem is that the text in the label is not changing with the change of topic message. A portion of my code is given below:(I used the code to dynamically change the text in the label from https://bytes.com/topic/python/answers/629499-dynamically-displaying-time-using-tkinter-label) Answer

Advertisement