Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

backend_wx.py: ReleaseMouse() when the capture is lost #7652

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 30 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
eac63b7
remove all CaptureMouse() and ReleaseMouse() calls
newville Dec 21, 2016
b4a083e
Merge branch 'master' of github.com:matplotlib/matplotlib
newville Dec 22, 2016
a8437a9
avoiding wx C++ assertions by handling Capture Lost and Changed events
newville Dec 22, 2016
331e6f7
Merge branch 'master' of github.com:matplotlib/matplotlib
newville Dec 24, 2016
0d5d1d5
now with _set_capture() method so that Capture is always released bef…
newville Dec 24, 2016
6135b14
Decode error messages from image converters.
QuLogic Dec 22, 2016
c96d50e
Also decode stdout from image verifiers.
QuLogic Dec 22, 2016
2d7b735
Make style change examples consistent
dstansby Dec 23, 2016
75a4986
Make plot titles consistent
dstansby Dec 23, 2016
8e45f4d
Allow to store metadata in png files
Xarthisius Oct 25, 2016
afaa4c4
Ensure that metadata pointer is initially set to NULL
Xarthisius Oct 25, 2016
26a8af8
Allow to pass custom infoDict to images created with pdf backend
Xarthisius Oct 25, 2016
15999fe
Allow to pass custom metadata to png images created with agg backend
Xarthisius Oct 25, 2016
80b2361
Allow to pass custom Creator to images created with ps backend
Xarthisius Oct 25, 2016
095db35
'Software' starts with capital letter as per PNG specification
Xarthisius Oct 25, 2016
19e9ad8
fix pep8 issue
Xarthisius Oct 25, 2016
17e8231
Drop debug statements
Xarthisius Oct 25, 2016
9fea731
Preserve the default values of the metadata. Allow user to update if …
Xarthisius Oct 25, 2016
cdc2185
Revert accidental changes and fix indentation
Xarthisius Oct 27, 2016
fa42ced
Handle unicode/bytes directly in the C extension
Xarthisius Oct 27, 2016
f0681de
Use 'latin_1' encoding instead of ascii
Xarthisius Oct 29, 2016
7912f00
Fix numpydoc format issues
Xarthisius Oct 29, 2016
2a5e3b0
Add example info dictionary
Xarthisius Oct 29, 2016
2ba99e1
Add a description for the 'metadata' keyword to the docstring
Xarthisius Oct 31, 2016
ad1dad9
Explicitly define 'metadata' kwarg in '_print_figure'
Xarthisius Oct 31, 2016
46afd9f
Define 'metadata' as kwarg in _print_figure_tex for consistency
Xarthisius Oct 31, 2016
7c2a94d
Use default value for invalid key instead of NULL
Xarthisius Oct 31, 2016
a499650
Use OrderedDict for metadata
Xarthisius Nov 17, 2016
5afb67a
Add 'what is new' entry for metadata kwarg in matplotlib.pyplot.savefig
Xarthisius Nov 17, 2016
5302ff7
Fix merge
Xarthisius Dec 25, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a description for the 'metadata' keyword to the docstring
  • Loading branch information
Xarthisius authored and newville committed Dec 27, 2016
commit 2ba99e1336fedbc0b1ab7a7c2034e2dc48622c79
18 changes: 18 additions & 0 deletions 18 src/_png.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,24 @@ const char *Py_write_png__doc__ =
" If not provided, libpng will try to automatically determine the\n"
" best filter on a line-by-line basis.\n"
"\n"
"metadata : dictionary\n"
" The keyword-text pairs that are stored as comments in the image.\n"
" Keys must be shorter than 79 chars. The only supported encoding\n"
" for both keywords and values is Latin-1 (ISO 8859-1).\n"
" Examples given in the PNG Specification are:\n"
" - Title: Short (one line) title or caption for image\n"
" - Author: Name of image's creator\n"
" - Description: Description of image (possibly long)\n"
" - Copyright: Copyright notice\n"
" - Creation Time: Time of original image creation\n"
" (usually RFC 1123 format, see below)\n"
" - Software: Software used to create the image\n"
" - Disclaimer: Legal disclaimer\n"
" - Warning: Warning of nature of content\n"
" - Source: Device used to create the image\n"
" - Comment: Miscellaneous comment; conversion\n"
" from other image format\n"
"\n"
"Returns\n"
"-------\n"
"buffer : bytes or None\n"
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.