All Questions
8 questions
0
votes
1
answer
44
views
kivy - python change label in different layout from code
I am trying to change the text label with id:text_output via buttons I created in a stack layout. This should happen within the 'def get_text()'
But I cannot figure out how I can call the label in the ...
0
votes
0
answers
86
views
why bokeh line graph gets squeezed when having set of labels to the left of the chart area?
I have a bokeh line plot and I'm adding a series of labels to the left of the y-axis. I have also tried LabelSet but with LabelSet nothing is coming up. so I used a for loop to add all of the labels ...
0
votes
2
answers
443
views
Kivy - Labels, Buttons and Layouts
HelloWorld!
First of all, I'm new to the English version of this page. I think my English is good, but if make any mistakes let me know and I'll fix it. Second, the code I wrote (I'll show you in a ...
0
votes
1
answer
826
views
Plot a confusion matrix with meaningful row and column labels
A question about the layout of my confusion matrix. I would like to replace the numbers "0", "1" and "2" corresponding to the variable labels with the actual variable ...
1
vote
1
answer
2k
views
Kivy - How to add multiple labels or buttons within a Label
I have this code and I want to add on the second column multiple buttons instead of the only "Save" button, but maintaining only the one label of "TEST", I searched online but did not find anything
...
5
votes
1
answer
18k
views
Tight_Layout: Attribute Error . 'AxesSubplot' object has no attribute 'tight_layout'
I want to plot a stacked-bar graph with data coming from two separate dataframes in pandas (My_means and My_stds). I am using Python 3.7.
The plotting call works fine, however, the labels are cut-off....
0
votes
1
answer
50
views
tkinter - mistake in the layout
In the code below, I want the label on line 34 to go to the top of my canvas, as the label on line 59 does. But it goes to the bottom of my canvas instead, even though I'm using the same code in both ...
0
votes
1
answer
9k
views
Setting the height of a Tkinter Label
I thought this was a very simple procedure.
seperator = Label(text ="")
seperator.config(background='#2b5bce', relief = RAISED, Height = 3)
seperator.grid(row=16, column=0, sticky="w", columnspan=40, ...