Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MatplotLib Sliders
#4
As for the grayscale, I will work on it soon.

For the spacing if you look in my code on line 12, I have witten the comment '#x,y,w,h'. X is how far right the slider is from the left side of the screen. Y is how far the slider is from the bottom of the screen. To add a gap between two sliders, just change the Y value on them (the second value in the array). The length again is the same as X and Y. My comment mentions W and H meaning width and hight. Adusting these will change the width and height of each slider.

I have tried to experiment with the sliders chaning the grayscale, but I don't have enough experience with matplotlib, so I couldn't get it to work. Sorry!

D
Reply


Messages In This Thread
MatplotLib Sliders - by punksnotdead - May-16-2019, 04:13 PM
RE: MatplotLib Sliders - by DreamingInsanity - May-16-2019, 04:52 PM
RE: MatplotLib Sliders - by punksnotdead - May-17-2019, 09:02 AM
RE: MatplotLib Sliders - by DreamingInsanity - May-17-2019, 05:07 PM
RE: MatplotLib Sliders - by punksnotdead - May-18-2019, 08:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Matplotlib: How do I convert Dates from Excel to use in Matplotlib JaneTan 1 3,243 Mar-11-2021, 10:52 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020