Results 1568 comments of John Cupitt

Sorry, I don't understand, it seems to be working in your PNG. What's the bug? I see: ``` $ python3 Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on...

Ah, the leading spaces? Pango removes leading and trailing whitespace, you'll need to find some other way to format your text. What effect are you trying to achieve?

`_data_at()` calls can be made in parallel, this should probably be noted in the docs too.

The docs say "Moreover, xsize and ysize will be at most 2048", however they can be up to 2064 (I think?) since there can be an 8-pixel overlap on each...

I think (I hope I have this right!) the callbacks only let you set the string for the tic, not the tic position. I often have axes which don't start...

I don't know if this is worth considering, but nip4 uses this code to pick xinterval / yinterval: ```C static double drawstate_pick_interval(double min, double max, int size) { double range...

Sorry, one more thing, I swapped the BSD reallocarray for the one from musl: https://github.com/jcupitt/nip4/blob/main/src/kplot/reallocarray.c it's a little nicer.

It seems (from #libjxl on discord) that we'll need to make a threadpool and generate libjxl tiles in parallel. We can't rely on `_data_at()` being executed in parallel.

We are doing parallel pixel generation by running a libvips pipeline for each 2k x 2k JXL tile. But this means that we emit a `minimise` signal at the end...

Ah, a better fix! Don't emit `minimise` for sub-evaluations, just as we don't emit `preeval`, `eval`, etc.