8000 Use Agg for rendering in the Mac OSX backend by mdboom · Pull Request #6178 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Use Agg for rendering in the Mac OSX backend #6178

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

Merged
merged 6 commits into from
Mar 28, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Remove Numpy dependency
  • Loading branch information
mdboom committed Mar 21, 2016
commit cb57075fb76579f1ddd09cdb605022abeba1859e
1 change: 0 additions & 1 deletion setupext.py
Original file line number Diff line number Diff line change
Expand Up @@ -2144,7 +2144,6 @@ def get_extension(self):
]

ext = make_extension('matplotlib.backends._macosx', sources)
Numpy().add_flags(ext)
ext.extra_link_args.extend(['-framework', 'Cocoa'])
return ext

Expand Down
4 changes: 0 additions & 4 deletions src/_macosx.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
#include <ApplicationServices/ApplicationServices.h>
#include <sys/socket.h>
#include <Python.h>
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#include "numpy/arrayobject.h"
#include "path_cleanup.h"

#define PYOSINPUTHOOK_REPETITIVE 1 /* Remove this once Python is fixed */

Expand Down Expand Up @@ -3218,7 +3215,6 @@ void init_macosx(void)
#endif
{
PyObject *module;
import_array();

if (PyType_Ready(&FigureCanvasType) < 0
|| PyType_Ready(&FigureManagerType) < 0
Expand Down
0