STOmics / Stereopy

A toolkit of spatial transcriptomic analysis.
MIT License
197 stars 65 forks source link

交互式不起作用 #107

Closed lvmt closed 1 year ago

lvmt commented 1 year ago

你好,我按照教程代码运行交互式截取感兴趣区域,但是界面没有显示。

%matplotlib inline

import warnings
warnings.filterwarnings('ignore')
import stereo as st
import  os  
os.chdir('C:/Users/llmt/Desktop/jupyter  notebook')
path = 'data/demo/SS200000135TL_D1.tissue.gef'
data = st.io.read_gef(path, bin_size=40)
data.tl.cal_qc()
ins = data.plt.interact_spatial_scatter(width=500, height=500, poly_select=False)
ins.show()

image

TheSallyGardens commented 1 year ago

Are you using windows? Please run pip list and provide us your software version information.

lvmt commented 1 year ago

yes, i use it in 'windows'
stereopy 0.10.0

TheSallyGardens commented 1 year ago

@lvmt Hi. If you cannot use the Linux environment, you can temporarily install WSL2 on Windows. We will notify you when we solve this problem

lvmt commented 1 year ago

hi, i have updated stereopy to 0.11.0 , now it work good. thanks for your work.