Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: GUI Tkinter Widget Positions
Post: RE: GUI Tkinter Widget Positions
Here is the code. On my PC running Windows7 Professional the controls overlap. They don't overlap on Windows10
The inconsistency might be related to the following:
https://interactivepython.org/rune... |
|
punksnotdead |
GUI |
3 |
2,967 |
Jun-12-2019, 09:46 AM |
|
|
Thread: GUI Tkinter Widget Positions
Post: GUI Tkinter Widget Positions
A colleague has just sent me a GUI that he developed using tkinter. On his Windows10 PC the GUI appears fine - all the button, text, combo widgets appear in their correct positions. However, on my Win... |
|
punksnotdead |
GUI |
3 |
2,967 |
Jun-09-2019, 11:19 AM |
|
|
Thread: [matplotlib]Heatmap with Sliders
Post: RE: [matplotlib]Heatmap with Sliders
No need for anyone to reply as I think I know how to solve this now. I'll post code here once done so i'll leave open for now. Thanks everyone. |
|
punksnotdead |
GUI |
1 |
2,225 |
May-19-2019, 10:48 PM |
|
|
Thread: Heat Map Question
Post: RE: Heat Map Question
Thank you so much Yoriz. Easy when you know how. **doh** **biggrin** |
|
punksnotdead |
GUI |
2 |
1,842 |
May-19-2019, 10:46 PM |
|
|
Thread: Heat Map Question
Post: Heat Map Question
Hope this is OK but as I didn't receive replies to my previous thread, thought i'd try to make the question simpler.
The following code creates a 64x64 grayscale heatmap.
Question - how do i refer to ... |
|
punksnotdead |
GUI |
2 |
1,842 |
May-19-2019, 09:16 PM |
|
|
Thread: [matplotlib]Heatmap with Sliders
Post: [matplotlib]Heatmap with Sliders
Wondered if anyone can help. I'm a total newbie to python and banging my head off the wall on this one.
I have 2 sliders and a heatmap.
I'd like the grayscale value of each pixel to change according ... |
|
punksnotdead |
GUI |
1 |
2,225 |
May-18-2019, 09:57 PM |
|
|
Thread: MatplotLib Sliders
Post: RE: MatplotLib Sliders
Hi DreamingInsanity, Thanks for your help. I'll post the second part of the problem on the GUI forum.
I couldn't get the sliders to position neatly by adjusting y (one of them overlaps the x-axis). If... |
|
punksnotdead |
General Coding Help |
4 |
3,908 |
May-18-2019, 08:45 PM |
|
|
Thread: MatplotLib Sliders
Post: RE: MatplotLib Sliders
Thanks DreamingInsanity, That works great. Sorry for posting in the wrong forum. I'll just continue here to keep this thread going but keep that in mind for future posts. I have a few comments/questio... |
|
punksnotdead |
General Coding Help |
4 |
3,908 |
May-17-2019, 09:02 AM |
|
|
Thread: MatplotLib Sliders
Post: MatplotLib Sliders
Wondered if anyone can help. The following code creates a 64x64 heatmap.
I'd like to add two horizontal sliders A and B each scaled from -90 to +90
Next to each slider I'd like to show the value selec... |
|
punksnotdead |
General Coding Help |
4 |
3,908 |
May-16-2019, 04:13 PM |
|
|
Thread: Advice on Setting Up the Python Environment
Post: Advice on Setting Up the Python Environment
I wonder if anyone can give me some general advice on how to get set up as some weird things are happening
1. If I drag and drop a .py file into the standard command window (the DOS prompt one) the f... |
|
punksnotdead |
General Coding Help |
1 |
2,377 |
May-15-2019, 03:28 PM |
|
|
Thread: sklearn regression to excel
Post: RE: sklearn regression to excel
I figured it out, can just refer to clf.coef_ array elements like this
worksheet.write (row, col, clf.coef[0])
worksheet.write (row, col, clf.coef[1])
worksheet.write (row, col, clf.coef[2])
... |
|
punksnotdead |
Data Science |
1 |
2,769 |
Apr-14-2019, 12:32 PM |
|
|
Thread: Iteration with 2 Variables
Post: RE: Iteration with 2 Variables
Thanks DeaD_Eye. I'll try that out. Much appreciated. Cheers, Mark |
|
punksnotdead |
General Coding Help |
8 |
3,697 |
Apr-14-2019, 11:01 AM |
|
|
Thread: sklearn regression to excel
Post: sklearn regression to excel
#I'm using the following to generate linear model coefficients
#I'm only showing some of the code here
#They print out OK in the DOS window
import numpy as np
from sklearn.preprocessing import Polyno... |
|
punksnotdead |
Data Science |
1 |
2,769 |
Apr-13-2019, 07:39 PM |
|
|
Thread: Iteration with 2 Variables
Post: RE: Iteration with 2 Variables
Thanks for your help Yoriz and Icabod801. I didn't realize python was so indent sensitive. Thanks to your help, Here is the code that works
import xlsxwriter
workbook = xlsxwriter.Workbook('Test.xlsx... |
|
punksnotdead |
General Coding Help |
8 |
3,697 |
Apr-13-2019, 08:33 AM |
|
|
Thread: Iteration with 2 Variables
Post: RE: Iteration with 2 Variables
Thanks for the reply.
What I get is:
Row A B
1 2 2
What I'm trying to get is:
Row A B
1 0 0
2 0 1
3 0 2
4 0 3
5 1 0
6 1 1
7 1 2
8 1 3
9 2 ... |
|
punksnotdead |
General Coding Help |
8 |
3,697 |
Apr-12-2019, 04:58 PM |
|
|
Thread: Iteration with 2 Variables
Post: RE: Iteration with 2 Variables
Thanks for the reply. Your code worked in the DOS window but I'm having no luck getting it to work in Excel. Any ideas?
import xlsxwriter
workbook = xlsxwriter.Workbook('MyTest.xlsx')
worksheet = wo... |
|
punksnotdead |
General Coding Help |
8 |
3,697 |
Apr-12-2019, 01:02 PM |
|
|
Thread: Iteration with 2 Variables
Post: Iteration with 2 Variables
Hello, This is my first attempt at writing a program using Python and I'm a bit stuck.
I'd like to write the sequence shown in the comments to an Excel spreadsheet. I can do it for just one variable i... |
|
punksnotdead |
General Coding Help |
8 |
3,697 |
Apr-10-2019, 04:54 PM |