Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plotnine Plot Title Has Incorrect Location When Using patchworklib #49

Closed
imahorrry opened this issue Nov 3, 2023 · 3 comments
Closed
Labels
bug Something isn't working enhancement New feature or request

Comments

@imahorrry
Copy link

imahorrry commented Nov 3, 2023

image

Code to reproduce:

import sys
import patchworklib as pw
from plotnine import *
from plotnine.data import *
import plotnine
print(pw.__version__)
print(plotnine.__version__)

g1 = pw.load_ggplot(ggplot(mtcars) + geom_point(aes("mpg", "disp")) + ggtitle('abcde'), figsize=(2, 3))
g1.savefig()
@imahorrry
Copy link
Author

The titles are in the correct location if there's more than one subplots.

image

@ponnhide ponnhide added bug Something isn't working enhancement New feature or request labels Nov 20, 2023
@ponnhide
Copy link
Owner

ponnhide commented Dec 7, 2023

Sorry for the late response, I have modified this problem.
Could you check the developmental version that can be installed by "pip install git+https://github.com/ponnhide/patchworklib.git"?

@imahorrry
Copy link
Author

Confirm fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants