pytest-benchmark icon indicating copy to clipboard operation
pytest-benchmark copied to clipboard

benchmark-histogram generates black empty svgs

Open nzjrs opened this issue 8 years ago • 10 comments

platform linux2 -- Python 2.7.3, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
benchmark: 3.0.0rc1 (defaults: timer=time.time disable_gc=False min_rounds=5 min_time=5.00us max_time=1.00s calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/XXX, inifile: setup.cfg
plugins: benchmark-3.0.0rc1
collected 56 items / 1 errors
pip install --upgrade statistics pytest-benchmark[histogram]

nzjrs avatar Oct 28 '15 13:10 nzjrs

Can you attach the svg? Also, please paste the result of pip list | grep pygal.

ionelmc avatar Oct 28 '15 13:10 ionelmc

pip list | grep pygal

no such command

nzjrs avatar Oct 28 '15 13:10 nzjrs

benchmark_20151028_140921-test_test_statepassing py_test_core_state_passing not_really_a_gif

nzjrs avatar Oct 28 '15 13:10 nzjrs

this is a svg but github would not let me attach it

nzjrs avatar Oct 28 '15 13:10 nzjrs

install log is here https://github.com/ionelmc/pytest-benchmark/issues/29#issuecomment-151839366

nzjrs avatar Oct 28 '15 13:10 nzjrs

It displays fine here (also works fine in Firefox): 2a504c4c-7d7e-11e5-9827-996c2a760527-screenshot

What viewer are you using?

ionelmc avatar Oct 28 '15 13:10 ionelmc

inkscake 0.48.5

nzjrs avatar Oct 28 '15 13:10 nzjrs

I think --benchmark-histogram=foobar/ should put the stuff in a foobar directory.

ionelmc avatar Oct 28 '15 13:10 ionelmc

I think --benchmark-histogram=foobar/ should put the stuff in a foobar directory.

thanks, that wasn't clear from the docs

nzjrs avatar Oct 28 '15 13:10 nzjrs

Also, about the back background, pygal is using features (css) that Inkscape doesn't support.

ionelmc avatar Oct 28 '15 13:10 ionelmc