-
Notifications
You must be signed in to change notification settings - Fork 119
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
Could not return matplotlib.Axes in python script #259
Comments
You can set By default, In script mode, gseapy turns off the matplotlib's interactive GUI to avoid opening too many windows |
but I want to display pyplot in web page. right now I can only use tempfile to store result and use base64 to transfer to browser. direct use gseapy.barplot without |
I'm sorry I got back to you so late. The reason you can't see anything because you use matplotlib.figure.Figure Object without GUI backend. This is designed for GSEApy in script mode. To work around this issue, ref to here:
|
Setup
I am reporting a problem with gseapy == 1.1.2,
Python == 3.8.19, and
operatingsystem == Ubuntu 20
My code as follows, the goal is to have gseapy complete the enrichment of each cluster in the for loop and save the resulting image to the local, I tested the feasibility in jupyter, but when executed in a standalone script, only a blank canvas was generated,unable to obtain matplotlib.Axes object, ignored the ofname parameter according to the document
The text was updated successfully, but these errors were encountered: