Skip to main content

Adds a Ctrl+C handler to matplotlib figures for copying the figure to the clipboard

Project description

addcopyfighandler: Add a Ctrl+C handler to matplotlib figures for copying the figure to the clipboard

Simply importing this module (after importing matplotlib or pyplot) will add a handler so that pressing Ctrl+C with a matplotlib figure window selected will copy the figure to the clipboard as an image.

Using code & concepts from:

Releases

2.0.0: 2019-06-07

  • Remove Qt requirement. Now use Pillow to grab the figure image, and win32clipboard to manage the Windows clipboard.

1.0.2: 2018-11-27

  • Force use of Qt4Agg or Qt5Agg. Some installs will default to TkAgg backend, which this module doesn't support. Forcing the backend to switch when loading this module saves the user from having to manually specify one of the Qt backends in every analysis.

1.0.1: 2018-11-27

  • Improve setup.py: remove need for importing module, add proper installation dependencies
  • Change readme from ReST to Markdown

1.0: 2017-08-09

  • Initial release

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

addcopyfighandler-2.0.0.zip (6.3 kB view details)

Uploaded Source

Built Distribution

addcopyfighandler-2.0.0-py2.py3-none-any.whl (3.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file addcopyfighandler-2.0.0.zip.

File metadata

  • Download URL: addcopyfighandler-2.0.0.zip
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0

File hashes

Hashes for addcopyfighandler-2.0.0.zip
Algorithm Hash digest
SHA256 813e940d5caa5168788a6e1424a2ee898145e3d7c245e9fb5b3a835c48c43778
MD5 45383dcd7b7c8868d06c01bb8777fcc1
BLAKE2b-256 bfd3471e8ccc913dd5a185eb8bee875268a8b004ea7d76970cbc05ea8c594ec9

See more details on using hashes here.

File details

Details for the file addcopyfighandler-2.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: addcopyfighandler-2.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0

File hashes

Hashes for addcopyfighandler-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 70d7f16a0d257b878321bced61dc0c099e43e8883fb8354ea4d7b76ca8122231
MD5 0f248cfd4c225e361d719de66835d3b4
BLAKE2b-256 0f9857a6392129f290ec10c5e0c0fb816e03c08cb5abfe4114b33934f5104c43

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page