Commit graph

9 commits

Author SHA1 Message Date
Witold Baryluk ea199c3469
Allow single graph / subplot on plot
`plt.subplots` tries to be special, and return array or not-array depending on a number of subplots.

It is not actually helpful, and IMHO bad design.

Make it always `ndarray`.

The `and not type(axes) is np.ndarray`, is just in case matplotlib decides to make their behavior more uniform. For now work around it.

Also, no need for `ndarray.flat` really.

Confirmed to work with existing benchmarks (i.e. rows=2, cols=3), and with single graphs (rows=1, cols=1).
2020-10-05 12:11:17 +00:00
Cedric Nugteren 180532ea39 Some fixes to the benchmark scripts 2018-01-27 20:06:13 +01:00
Cedric Nugteren 3651b51664 Improved the benchmark scripts; added gemmstridedbatched benchmark 2018-01-25 21:24:18 +01:00
Cedric Nugteren b35e3d1e53 Small improvements to benchmarking for cuBLAS 2018-01-14 19:50:27 +01:00
Cedric Nugteren 3948cd6551 Made plotting script more resilient to missing data 2017-12-20 20:12:02 +01:00
Cedric Nugteren 56b2f46fbf Added output-folder for benchmarking and removed the requirement on X 2017-04-14 20:32:28 +02:00
Cedric Nugteren 0f96e9d2f9 Various tweaks to the new benchmark script 2017-04-02 14:53:55 +02:00
Cedric Nugteren 1ee71fdc80 Tuned the plots for a tight-layout for in papers and presentations 2017-04-01 14:00:46 +02:00
Cedric Nugteren fa5c4b00b7 Replaced the R graph scripts with Python/Matplotlib benchmark scripts 2017-03-26 15:36:34 +02:00