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.

Original concept code taken from: https://stackoverflow.com/questions/31607458/how-to-add-clipboard-support-to-matplotlib-figures

Releases

1.0: 2017-08-09

  • Initial release

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.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.

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-1.0.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

addcopyfighandler-1.0.2-py2.py3-none-any.whl (2.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file addcopyfighandler-1.0.2.tar.gz.

File metadata

  • Download URL: addcopyfighandler-1.0.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.22.0 CPython/3.6.5

File hashes

Hashes for addcopyfighandler-1.0.2.tar.gz
Algorithm Hash digest
SHA256 93600310fc8f7c20f09b7333eca9fda8e894052079f64deb4018ad88cea5bab6
MD5 93c7912e24a78f342ce4d7b2fe8363a8
BLAKE2b-256 61b213b050c1ccea5ebc30177c913b02972a900136a957e27015e676e75c5e0a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: addcopyfighandler-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.22.0 CPython/3.6.5

File hashes

Hashes for addcopyfighandler-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ec3b488a237f9d818df181dde4097141ffd7e5b9ec5c3792a8e8dbd7c15b3c2c
MD5 36009e81862bb5308348afad87f17b20
BLAKE2b-256 54012e83f9e4fe740473414d7580c1cdb189290fe5d493695b26f88d86d227cf

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