Skip to content

Conversation

@theDigitalGuy
Copy link

I had the same issue as #14 . Maybe this is a usable fix?

configfile: pyproject.toml
testpaths: mpl_typst
collected 13 items                                                                                                                                                                           

mpl_typst/backend_test.py::TestTypstRenderer::test_draw_path PASSED                                                                                                                    [  7%]
mpl_typst/backend_test.py::TestTypstRenderer::test_draw_image_lenna[72] PASSED                                                                                                         [ 15%]
mpl_typst/backend_test.py::TestTypstRenderer::test_draw_image_lenna[100] PASSED                                                                                                        [ 23%]
mpl_typst/backend_test.py::TestTypstRenderer::test_draw_image_lenna[144] PASSED                                                                                                        [ 30%]
mpl_typst/backend_test.py::TestTypstRenderer::test_draw_image_spy[72] PASSED                                                                                                           [ 38%]
mpl_typst/backend_test.py::TestTypstRenderer::test_draw_image_spy[100] PASSED                                                                                                          [ 46%]
mpl_typst/backend_test.py::TestTypstRenderer::test_draw_image_spy[144] PASSED                                                                                                          [ 53%]
mpl_typst/backend_test.py::TestTypstFigureCanvas::test_print_typ[buffer] PASSED                                                                                                        [ 61%]
mpl_typst/backend_test.py::TestTypstFigureCanvas::test_print_typ[path] PASSED                                                                                                          [ 69%]
mpl_typst/backend_test.py::TestTypstFigureCanvas::test_print_typ[str] PASSED                                                                                                           [ 76%]
mpl_typst/config_test.py::TestConfig::test_from_dict PASSED                                                                                                                            [ 84%]
mpl_typst/config_test.py::TestConfig::test_from_toml PASSED                                                                                                                            [ 92%]
mpl_typst/typst_test.py::test_sanity PASSED                                                                                                                                            [100%]

=========================== 13 passed

@daskol daskol self-requested a review August 27, 2025 08:37
@daskol daskol self-assigned this Aug 27, 2025
@daskol daskol added the bug Something isn't working label Aug 27, 2025
@daskol
Copy link
Owner

daskol commented Aug 27, 2025

LGTM Could you add a test case to cover this issue before we merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants