key error in jupyter notebook using brainrender
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 18/100
- Tipo de issue
- Bug
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Estagnada
- Stack de tecnologia
- anaconda, jupyter-notebook, python
- Domínio
- developer-experience
Direção de pesquisa
Reproduza o traceback na configuração Anaconda/Jupyter relatada e, em seguida, inspecione brainrender/scene.py e brainrender/_jupyter.py, onde vedo.settings.notebookBackend é acessado. Considera-se concluído quando Scene(...) é inicializado sem o KeyError relatado no caminho do notebook, com uma verificação de regressão para essa configuração.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Hello,
I am very new to these things thus sorry if I am not giving you enough informations about the issue !
to resume
I am trying to plot the coordinate of a group of cells in a 3D brain by using brainrender with jupyter notebook
I am using an anaconda environnement with the version 3.7.0 of python and the version of my anaconda navigator is 1.9.6.
my scirpt is working until this entry :
#Get a numpy array coordinates of some labelled cells
scene = Scene(title='area_cell')
MOx = scene.add_brain_region("MO", alpha=0.15)
SSx = scene.add_brain_region("SS", alpha=0.15)
VISx = scene.add_brain_region("VIS", alpha=0.15)
#STRx = scene.add_brain_region("STR", alpha=0.15)
KeyError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_16228\2284008602.py in <module>
1 #Get a numpy array coordinates of some labelled cells
----> 2 scene = Scene(title='area_cell')
3 MOx = scene.add_brain_region("MO", alpha=0.15)
4 SSx = scene.add_brain_region("SS", alpha=0.15)
5 VISx = scene.add_brain_region("VIS", alpha=0.15)
~\Anaconda2\envs\plot3Dbrain\lib\site-packages\brainrender\scene.py in __init__(self, root, atlas_name, inset, title, screenshots_folder, plotter, title_color)
48 f"Creating scene with parameters: root: {root}, atlas_name: '{atlas_name}'', inset: {inset}, screenshots_folder: {screenshots_folder}"
49 )
---> 50 JupyterMixIn.__init__(self)
51
52 self.actors = [] # stores all actors in the scene
~\Anaconda2\envs\plot3Dbrain\lib\site-packages\brainrender\_jupyter.py in __init__(self)
10 def __init__(self): # pragma: no cover
11 # keep track if we are in a jupyter notebook
---> 12 if vedo.settings.notebookBackend == "k3d":
13 self.backend = "k3d"
14 elif vedo.settings.notebookBackend == "itkwidgets":
~\Anaconda2\envs\plot3Dbrain\lib\site-packages\vedo\utils.py in __getattr__(self, k)
236
237 def __getattr__(self, k):
--> 238 return self[k]
239
240 def __setattr__(self, k, v):
KeyError: 'notebookBackend'
I tried unsuccessfully to understand what was going wrong and to find someonne with the same issue, thus if you have idea it would be great !
also let me know if you need more informations,
Thanks !
- Linguagem predominante
- Jupyter Notebook
- Estrelas
- 1.7k
- Forks
- 234
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de matplotlib/ipympl
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
matplotlib/ipympl#623 · 1 comentário ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
matplotlib/ipympl#622 · 13 comentários ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
matplotlib/ipympl#612 ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
matplotlib/ipympl#611 · 4 comentários ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
matplotlib/ipympl#609 · 7 comentários ·
Todas as issues de matplotlib/ipympl
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
stephrobert/dsoxlab#238 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
sublimehq/package_control#1780 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
typelevel/sbt-typelevel#929 ·
-
Update HugeIcons library Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
antfu-collective/icones#398 ·