Hood Chatham

Results 1082 comments of Hood Chatham

Yeah I'm not sure why it shows it a second time... I think it has something to do with the top level await?

Ah but you got rid of the top level await (you need to load it as an es6 module for it to work) and got the double traceback anyways.

I believe we moved it to `matplotlib_pyodide.html5_canvas_backend`.

This package is unmaintained. We're waiting on someone to pick up the maintenance, then we can provide some help with whatever context we have. Which admittedly isn't much.

Interesting, thanks for the report. Indeed: ```py _base_fonts_url = "/fonts/" ``` should probably be changed to: ```py from pyodide_js._api.config import indexURL _base_fonts_url = f"{indexURL}/fonts/" ```

It seems that jsdelivr returns a 403 for this which is another problem.

@MartinKolarik Could you whitelist `.ttf` files for Pyodide?

Thanks! Now if I patch it like this: ``` import matplotlib_pyodide.html5_canvas_backend matplotlib_pyodide.html5_canvas_backend._base_fonts_url = f"{indexURL}fonts/" ``` it successfully downloads the font from: https://cdn.jsdelivr.net/pyodide/v0.25.1/full/fonts/DejaVuSans.ttf I cannot tell the difference in the rendered...

> BTW are there any FAQs to debug emscripten whls like this? No, and it's a bit inconvenient but we are happy to provide suggestions / help if you get...

I don't really understand matplotlib, so it's difficult to judge whether the patch is correct or not and I don't have that much faith in our test coverage. But it...