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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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