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

Is there a specific option to configure to make spyder IDE display images in The Plots pane? #23

Closed
CaoTianze opened this issue Sep 15, 2022 · 2 comments

Comments

@CaoTianze
Copy link

Hi, ponnhide. When I use your package and plotnine in spyder IDE, I find that the generated plots are all in the console window and not in the plots pane. But when using only plotnine, the image is displayed in the plots pane.

@ponnhide
Copy link
Owner

I'm sorry for the late reply. I don't use spyder IDE, so I don't know the exact reason. But, I think it is due to the feature of patchworklib implementation.
In my speculation, Creating a new matplotlib figure object is required to use the plots panel, but patchworkllib use only a single figure object and arranges multiple axes objects on the Figure. Therefore, probably, it cannot use the plots panel.
On the other hand, the native plotnine creates a new figure object for each plot so that you can use the plot panel.
If your requirement is common in spyder users, I will consider modifying the current implementation of patchworklib so that it can use plot panels.
Thank you for your report.

@CaoTianze
Copy link
Author

Thank you for your reply. Looking forward to the next version of patchworklib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants