patchworklib
patchworklib copied to clipboard
Is there a specific option to configure to make spyder IDE display images in The Plots pane?
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.
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.
Thank you for your reply. Looking forward to the next version of patchworklib.