Results 637 comments of Antony Lee

You don't want to run `clang build-osx-wheel.sh`, but just `./build-osx-wheel.sh` (or even `python setup.py bdist_wheel` should be good enough (modulo dependencies) given that you just want to use the wheel...

Well, that's what the error message says: your version of clang is too old. You can install a more recent version with homebrew or conda, *then make sure it is...

Not sure what's happening with monochrome but... 1. You need to install the wheel (that's in the dist directory) with `pip install /path/to/mplcairo-etc-etc.whl`. 2. Making things work in the notebook...

> I'm using cairo 1.18.0. That's the pycairo version (I know, it's confusing :/). The cairo version is accessible as `import mplcairo._mplcairo; print(mplcairo._mplcairo.__cairo_version__)`; can you check that, and the freetype...

Likely, indeed. How did you install pycairo? At least homebrew appears to have cairo 1.16 available.

I guess best would be to bug conda-forge to update their version of cairo... looks like it just needs to be merged on their side (https://github.com/conda-forge/cairo-feedstock/pull/44). If you don't want...

Probably because cairo and agg internally represent the red/green/blue channels in a different order, which should be accounted for but perhaps something's amiss. Does this happen outside of the notebook...

What is your `sys.byteorder`?

Also, I guess this is with `module://mplcairo.macosx`? Do you have the same problem with `module://mplcairo.tk`? Edit: pushed a new commit to the mplcairo repo (you'll need to update your clone),...

Always happy to help. After all, you caught a bug and a typo in mplcairo :)