aboutsummaryrefslogtreecommitdiff
path: root/src/plots.py
Commit message (Collapse)AuthorAgeFilesLines
* make the whole project more python idiomaticFlorian Fischer2020-06-021-771/+0
| | | | | | | | | * rename src directory to allocbench * make global variable names UPPERCASE * format a lot of code using yapf * use lowercase ld_preload and ld_library_path as Allocator members * name expected Errors 'err' and don't raise a new Exception * disable some pylint messages
* fix errorbars and sanely position bars in barplotsFlorian Fischer2020-04-171-4/+10
|
* fix figure_option handling in plot()Florian Fischer2020-04-071-18/+17
|
* seperate export_facts into print_facts and print_common_factsFlorian Fischer2020-04-071-11/+20
|
* unify plotting codeFlorian Fischer2020-04-071-166/+248
| | | | | Now there is only a single plot function which takes a plot type as well as some plot and figure options.
* make sure we join only stringsFlorian Fischer2020-03-101-1/+1
|
* fix _save_figure callsFlorian Fischer2020-03-101-3/+3
|
* create plots using their file name as identifierFlorian Fischer2020-03-091-13/+15
|
* fix use of pyplot.closeFlorian Fischer2020-03-091-3/+3
|
* fmt plots.py using yapfFlorian Fischer2020-03-091-47/+158
|
* use f-string template in latex table generation codeFlorian Fischer2020-03-091-20/+19
|
* improve matplotlib codeFlorian Fischer2020-03-091-68/+51
| | | | | | add new helper functions to get all y_values for a plot use seperate figures for each plot s/filepostfix/file_postfix/ to be consistent
* get statistic value with defaultFlorian Fischer2020-02-261-2/+4
|
* split style and color definitions and include common.texFlorian Fischer2020-02-251-3/+6
|
* remove newline in front of ybar axis attributeFlorian Fischer2020-02-241-1/+1
|
* create correct standalone pgfplot legendFlorian Fischer2020-02-241-96/+81
|
* import tikzplotlib only if neededFlorian Fischer2020-02-241-1/+3
|
* don't use data using filecontents*Florian Fischer2020-02-241-18/+16
| | | | | The filecontent is written to disk an may colide with the data from other plots.
* add option to set additional axis attributesFlorian Fischer2020-02-241-1/+3
|
* only support 10 default colorsFlorian Fischer2020-02-241-1/+1
| | | | matplotlib on ubuntu 18.04 does only support 10 cycle colors
* add verbosity flag to summarizeFlorian Fischer2020-02-221-3/+3
|
* add support for pgf bar plots and error barsFlorian Fischer2020-02-201-7/+25
|
* define a style per allocatorpgfplotsFlorian Fischer2020-02-121-3/+5
| | | | | the style is named like the allocator and can be overwritten using a custom preamble.
* improve default labelsFlorian Fischer2020-02-111-4/+4
|
* use str.format labels and fix value retrieval in pgfplot_linearFlorian Fischer2020-02-111-4/+9
|
* add legend file name to pgfplot_legend argumentsFlorian Fischer2020-02-111-2/+2
|
* set any missing allocator colorFlorian Fischer2020-02-111-6/+22
| | | | The matplotlib "C" color cycle list is used for missing colors
* add summarize option to specify a custom latex preambleFlorian Fischer2020-02-111-0/+6
| | | | this is meant for some latex setup specifics like including common.tex
* cleanup plot codeFlorian Fischer2020-02-111-113/+136
| | | | | | | * use str.format instead of eval for plot labels * use meaningful variable names * add license header * add some doc strings
* move plotting code from src.benchmark to src.plotsFlorian Fischer2020-02-111-0/+518