mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-21 06:45:24 -06:00
chore(gui/metrics): use dynamic bound for all graphs
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
This commit is contained in:
parent
e2a0aba398
commit
006743b7c0
1 changed files with 2 additions and 0 deletions
|
|
@ -154,6 +154,7 @@ class ProcessMetricsScreen(Displayable): # pylint: disable=too-many-instance-at
|
|||
height=self.lower_height,
|
||||
baseline=0.0,
|
||||
upsidedown=True,
|
||||
dynamic_bound=True,
|
||||
format=format_host_memory,
|
||||
max_format=format_max_host_memory,
|
||||
)
|
||||
|
|
@ -175,6 +176,7 @@ class ProcessMetricsScreen(Displayable): # pylint: disable=too-many-instance-at
|
|||
height=self.lower_height,
|
||||
baseline=0.0,
|
||||
upsidedown=True,
|
||||
dynamic_bound=True,
|
||||
format=format_sm,
|
||||
max_format=format_max_sm,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue