mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-05 04:18:50 +00:00
Make COLORMAP const
This commit is contained in:
parent
567343a28d
commit
de623488ab
@ -5,6 +5,7 @@ import re
|
||||
import sys
|
||||
import typing
|
||||
|
||||
COLORMAP = plt.get_cmap('turbo')
|
||||
|
||||
# Extract cpu and rss samples from log files and plot them
|
||||
# Input: List of log files
|
||||
@ -35,7 +36,6 @@ def extract_samples(f: typing.IO) -> typing.Tuple[pd.Series, pd.Series, pd.Serie
|
||||
return cpu_samples, rss_samples, count_samples
|
||||
|
||||
if __name__ == '__main__':
|
||||
COLORMAP = plt.get_cmap('turbo')
|
||||
filenames = sys.argv[1:]
|
||||
|
||||
cpu_samples_all_files = []
|
||||
|
Loading…
Reference in New Issue
Block a user