Skip to content

Jupyter inline plot only appears on second try #45

Closed
@jingxuanlim

Description

@jingxuanlim

Hi. Just found your package and very excited to try additive blending :)

Before that, I wanted to get mplcairo working with my working environment -- Jupyter lab with %matplotlib widget (issue here) or at least %matplotlib inline).

I was able to get the latter to work -- sort of. The following cell needs to be run twice before the results appear.

After first run:

image

After second run:

image

Do you know why this is happening? Any help appreciated!

Result of mplcairo.get_versions()

{'python': '3.6.7 | packaged by conda-forge | (default, Feb 28 2019, 09:07:38) \n[GCC 7.3.0]',
 'mplcairo': '0.3',
 'matplotlib': '3.1.1',
 'cairo': '1.14.12',
 'freetype': '2.10.4',
 'pybind11': '2.5.0',
 'raqm': None}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions