question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BUG - brainrender does not initialise due to lack of vedo.closePlotter in vedo==2021.0.5

See original GitHub issue

With the new version of vedo 2021.0.5, closePlotter seems to have been removed (commit), so brainrender and brainrender-gui crash with:

    from vedo import Plotter, closePlotter
ImportError: cannot import name 'closePlotter' from 'vedo' (/home/adam/miniconda3/envs/brainrender/lib/python3.7/site-packages/vedo/__init__.py)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
marcomusycommented, Aug 31, 2021

yep, you should use plt.close()

0reactions
hackedintothemainframecommented, Oct 5, 2021

Thank you @FedeClaudi! I had originally reverted to this version because version 2.0.4.4 had not originally worked, which I now realize is because it did not automatically install PySide 2 and its dependencies (see issue #138 ) All seems to be in working order now!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Runtime error? · Issue #180 · brainglobe/brainrender
I'm trying to understand what is the origin of the bug and what is the solution. My understanding is that vedo.closePlotter was removed...
Read more >
Odd Brainrender GUI on M1 mac - Usage & Issues
I tried to use brainrender, but the GUI seems to be a bit broken, where the main display is not in the window....
Read more >
brainrender - githubmemory
Merging anatomical regions · BUG: Failing to render entire cell · BUG - brainrender does not initialise due to lack of vedo.closePlotter in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found