pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/mathoudebine/turing-smart-screen-python/pull/946

heet" href="https://github.githubassets.com/assets/github-eab9c5888b163e42.css" /> feat(lcd): add fill and antialias support for line graphs by dogukanveziroglu · Pull Request #946 · mathoudebine/turing-smart-screen-python · GitHub
Skip to content

feat(lcd): add fill and antialias support for line graphs#946

Open
dogukanveziroglu wants to merge 4 commits into
mathoudebine:mainfrom
dogukanveziroglu:feature/line-graph-fill-antialias
Open

feat(lcd): add fill and antialias support for line graphs#946
dogukanveziroglu wants to merge 4 commits into
mathoudebine:mainfrom
dogukanveziroglu:feature/line-graph-fill-antialias

Conversation

@dogukanveziroglu

Copy link
Copy Markdown

Hi,
I've been using this project for my setup and wanted the line graphs to look more like Windows Task Manager / Linux Mission Center - with filled areas under the lines and smoother edges.

So I added three new optional parameters to LINE_GRAPH:

  • FILL: Fill the area under the line
  • FILL_COLOR: RGBA color with transparency support
  • ANTIALIAS: 2x supersampling for smoother lines

Example usage in theme.yaml:

LINE_GRAPH:                                                                                                                                                                                                                                                                    
  FILL: True                                                                                                                                                                                                                                                                   
  FILL_COLOR: 0, 180, 216, 80                                                                                                                                                                                                                                                  
  ANTIALIAS: True

Screenshots:

Before:

Screenshot_Before

After:

Screenshot_After

@auipga

auipga commented Mar 26, 2026

Copy link
Copy Markdown

Antialiasing and the theme look both very nice together. Thank you for sharing.
Though I'd think this should be two separated PRs.

@dogukanveziroglu

Copy link
Copy Markdown
Author

Antialiasing and the theme look both very nice together. Thank you for sharing. Though I'd think this should be two separated PRs.

Yeah, you’re probably right. I considered this as a complete new line graph feature, so I submitted it as a single PR. I can split it into separate PRs if the owner prefers.

@mathoudebine

Copy link
Copy Markdown
Owner

Thank you for this PR, it is okay in one PR since the theme uses the new features you implemented.
The build-linux.sh and LINUX-INSTALL.md should be in the wiki instead, please keep the files in the PR for now so that I can import the relevant content in the wiki 🙂

@dogukanveziroglu

Copy link
Copy Markdown
Author

Thank you for this PR, it is okay in one PR since the theme uses the new features you implemented. The build-linux.sh and LINUX-INSTALL.md should be in the wiki instead, please keep the files in the PR for now so that I can import the relevant content in the wiki 🙂

Oh, those files were actually for my own local Linux setup I accidentally included them in the PR :D Feel free to use the content for the wiki if you find it useful!

alex61194 added a commit to alex61194/turing-smart-screen-python that referenced this pull request Jun 22, 2026
- color.py: support RGBA colors with allow_alpha parameter
- lcd_comm.py: DisplayLineGraph gains fill, fill_color, antialias params
  - fill: fills area under the line with polygon
  - fill_color: RGBA color for fill (supports alpha transparency)
  - antialias: 2x supersampling with LANCZOS downscale
- stats.py: display_themed_line_graph passes FILL, FILL_COLOR, ANTIALIAS
  from theme YAML

Theme usage:
  LINE_GRAPH:
    FILL: True
    FILL_COLOR: 50, 216, 243, 80
    ANTIALIAS: True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy