Closed Feng-Zhang closed 1 year ago
Can you try this code to use figure
to show it
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
st.pl.cluster_plot(data_SME, use_label="X_pca_kmeans", ax=ax)
fig.show()
Sorry for my bad.
plt.show()
works.
Dear authors, I am running the code given from the maunal.
The above code expects plotting a figure, but not in python console when I debug the code using pycharm. However, the figure shows up when I use notebook. This seems that I have to use like
plt.show()
function to show it. Butplt.show()
doesn't work in this case. Could you give me a hand? Thank you.