Commit Graph

10 Commits

Author SHA1 Message Date
Benjamin Rosemann
49fcc4be37 Change parameter name in plotting scripts
Change the parameter `imagname` to `output` and provide `-o` shortcut.
2021-02-16 08:21:45 +01:00
Benjamin Rosemann
b04a9ec6c4 Add parameters to plotting scripts
Add `imgname` parameter to be able to save a plot to a file instead of
showing it. Use-case: platforms without GUI like docker containers.

Add `labels` parameter to histogram plot. Use-case: replacing long
commands with human friendly labels.
2021-02-16 08:21:45 +01:00
David Peter
907d38aa18
Only show title if it is set 2020-11-03 13:46:16 +01:00
muxator
5a80a23bdc scripts: modify shebang to use "/usr/bin/env python"
Before this patch, executing directly one of these scripts, for example
`./plot_hystogram.py` in a unix-like environment meant that the default
system-level python would be used, regardless of an eventual activated
virtualenv.

This was due to the "#!/usr/bin/python" shebang.
Changing it to "/usr/bin/env python" is a fairly standard practice, keeps intact
the compatiblity with the system level python, and allows a user to run in a
virtualenv if he wants.
2020-10-13 12:49:36 +02:00
sharkdp
8fff8643e0 Auto-format Python scripts 2020-04-01 09:35:09 +02:00
sharkdp
a870d4db3d Add --labels option for plot_whisker.py 2020-04-01 09:31:55 +02:00
sharkdp
b702292505 Remove unnecessary imports 2020-03-21 09:23:42 +01:00
Eugene Obrezkov
9253e9f967 Update plot_whisker.py 2020-03-21 09:23:42 +01:00
Eugene Obrezkov
e83e1f787c Update plot_whisker.py 2020-03-21 09:23:42 +01:00
sharkdp
ef8a16622d Add a script to plot histograms 2019-10-15 17:49:59 +02:00