Skip to content

Stopped working with newer plotnine version #58

Open
@nprihodko

Description

@nprihodko

After upgrading plotnine from 0.12.4 to 0.13.6, patchworklib stopped working with it.

import patchworklib as pw
from plotnine import *
from plotnine.data import *

g1 = pw.load_ggplot(ggplot(mpg, aes(x="cty", color="drv", fill="drv")) + geom_density())

Results in

AttributeError: 'ggplot' object has no attribute '_create_figure'

plotnine==0.13.6
patchworklib==0.6.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions