Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 52eec1e

Browse files
committed
Fix silly typo in _png.cpp that broke usetex support.
svn path=/trunk/matplotlib/; revision=5475
1 parent d09f7b1 commit 52eec1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/_png.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class _png_module : public Py::ExtensionModule<_png_module>
1919
{
2020
add_varargs_method("write_png", &_png_module::write_png,
2121
"write_png(buffer, width, height, fileobj, dpi=None)");
22-
add_varargs_method("read_png", &_png_module::write_png,
22+
add_varargs_method("read_png", &_png_module::read_png,
2323
"read_png(fileobj)");
2424
initialize("Module to write PNG files");
2525
}

0 commit comments

Comments
 (0)