mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[PR #31] [MERGED] feat(gui): add 256 color support for bar charts #130
Labels
No labels
api
bug
bug
cli / tui
dependencies
documentation
documentation
documentation
duplicate
enhancement
exporter
invalid
pull-request
pynvml
question
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/nvitop#130
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/XuehaiPan/nvitop/pull/31
Author: @XuehaiPan
Created: 8/3/2022
Status: ✅ Merged
Merged: 8/5/2022
Merged by: @XuehaiPan
Base:
main← Head:256color📝 Commits (3)
9d796d8feat(gui): add 256 color support for bar charts23f5812feat(cli): add GPU process context filter28c58dadocs: add screenshot for bar charts📊 Changes
7 files changed (+202 additions, -70 deletions)
View changed files
📝
README.md(+20 -4)📝
nvitop/cli.py(+35 -3)📝
nvitop/gui/library/history.py(+2 -0)📝
nvitop/gui/library/libcurses.py(+92 -27)📝
nvitop/gui/screens/main/device.py(+22 -11)📝
nvitop/gui/screens/main/host.py(+30 -23)📝
nvitop/gui/screens/main/process.py(+1 -2)📄 Description
Issue Type
Runtime Environment
3.9.13470.129.06nvitopversion or commit:v0.7.1python-ml-pyversion:11.450.51en_US.UTF-8Description
Use gradient colors for spectrum-like bar charts. This requires the user to set
TERMto*-256color(e.g.xterm-256colorortmux-256color).Motivation and Context
Make
nvitopmore colorful.Testing
N/A
Images / Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
getpass.getuser()#169