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:


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

Files for addcopyfighandler, version 2.0.0
Filename, size & hash File type Python version Upload date
addcopyfighandler-2.0.0-py2.py3-none-any.whl (3.0 kB) View hashes Wheel py2.py3 (6.3 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page