Plot Google Benchmark results
Project description
ScopePlot
Plot Google Benchmark results
Getting Started with ScopePlot
ScopePlot is available on PyPI can be installed with pip
$ python -m pip install scope_plot
To install the latest development version from Github
$ python -m pip install git+git://github.com/c3sr/scope_plot.git
If your current Python installation doesn't have pip available, try get-pip.py
After installing ScopePlot you can use it like any other Python module. Here's a very simple example:
$ python -m scope_plot bar data.json
There are multiple subcommands available
$ python -m scope_plot --help
Usage: __main__.py [OPTIONS] COMMAND [ARGS]...
Options:
--debug / --no-debug print debug messages to stderr.
--include DIRECTORY Search location for input_file in spec.
--help Show this message and exit.
Commands:
bar Create a bar graph from BENCHMARK and write...
deps Create a Makefile dependence
spec Create a figure from a spec file
More information about the subcommands can be accessed with python -m scope_plot COMMAND --help
, and also in the documentation: bar, spec, deps.
API Reference
coming soon...
Support / Report Issues
All support requests and issue reports should be filed on Github as an issue. Make sure to follow the template so your request may be as handled as quickly as possible. Please respect contributors by not using personal contacts for support requests.
Contributing
We happily welcome contributions, please see our guide for Contributors for the best places to start and help.
License
scope_plot is made available under the Apache 2.0 License. For more details, see LICENSE.txt.
Changelog
Release 0.2.3 (Development)
- Use
agg
matplotlib backend if tkinter cannot be imported - allow subplots to have error bars
- hide error bar labels by default
- add linestyle spec to matplotlib errorbars
- don't resolve path for scope_plot deps since makefiles probably expect target names to be relative
- print error when an input file is not found
Release 0.2.2 (Development)
- Add NOTICE and Apache 2.0 LICENSE
- Fixed a bug where ScopePlot would not run without DISPLAY environment set
- Use TkAgg backend on macOS to support running from a virtualenv
- Allow non-numeric x data in bar plots
- Add support for the
output
field in spec files
Release 0.2.1 (Development)
- Fix bugs in handling labels, color, regex for matplotlib and regex backends
Release 0.2.0 (Development)
- Refactor some underlying data structures
- break matplotlib backend
Release 0.1.5 (Development)
- Enable strict checking of spec files by default
- Sort benchmark data
- Omit invalid benchmark data
Release 0.1.3 (Development)
- Change documentation to docsify
- Fix a bug with unexpected "strict" argument
Release 0.1.2 (Development)
- rename to
scope_plot
- Initial support for
spec
andbar
subcommands.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file scope_plot-0.2.4.tar.gz
.
File metadata
- Download URL: scope_plot-0.2.4.tar.gz
- Upload date:
- Size: 89.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f3ff891172cfc0b23cc4d867554668e6ca87608fb8eb74d8e972f5ebe7fb844 |
|
MD5 | dd8d5f793ad0200210b8f0f909fff97a |
|
BLAKE2b-256 | dde84e37d58fa72db7c91afbdc475fc6226111d69c5fddf0912a52dc7ce9222c |