Skip to main content

ScopePlot

Build Status

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 and bar subcommands.

Metadata

Release files for scope-plot 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scope-plot 0.2.4
File Size Uploaded
scope_plot-0.2.4.tar.gz 89.1 kB Details

Release files / scope_plot-0.2.4.tar.gz

Download URL scope_plot-0.2.4.tar.gz
Size 89.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3f3ff891172cfc0b23cc4d867554668e6ca87608fb8eb74d8e972f5ebe7fb844
BLAKE2b-256 checksum
How to use checksums
dde84e37d58fa72db7c91afbdc475fc6226111d69c5fddf0912a52dc7ce9222c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.4 This release

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page