[DOC] Add `Brain._renderer.set_camera` to `stc.plot` documentation
See original GitHub issueI noticed that it wasn’t described in the SourceEstimate.plot documentation how to set a view that is not one of the canonical views. I had to look in the source code to remember how to do this so I thought it might be useful to document. It does expose a private function as in brain._renderer.set_camera(azimuth=-110, elevation=100, distance=500, np.array([-0.03326882, -0.04459817, 0.08267832])). This is quite messy/showing the under the hood bits that maybe shouldn’t be shown but I’m not sure how else to get the view you really like without the GUI.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Visualize source time courses (stcs) - MNE-Python
We can plot the source estimate using the stc.plot just as in other MNE objects. ... on our documentation website with: # brain.save_movie(time_dilation=20, ......
Read more >eelbrain.plot.brain.dspm - Read the Docs
Plot a source estimate with coloring for dSPM values (bipolar). Parameters. src (NDVar, dims = ([case,] source, [time])) – NDVar ...
Read more >Source code for visbrain.objects.scene_obj
_camera = value # Set camera to the main widget : self.wc.camera = value # Link ... [docs]class SceneObj(object): """Create a scene and...
Read more >A brief overview of brainrender`s functionality - GitHub
A core design goal is to facilitate the rendering of any data registered to a reference atlas. To this end, brainrender facilitates the...
Read more >brain plot add.foci - Support & Discussions - MNE Forum
Hi! I'm trying to add a foci to a stc.plot() by using a coordinate, but no matter what coordinate I try, only a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

That is a good point! 👌
Are you aware of the public function called
show_view()? It usesset_camera()under the hood and acceptselevation,azimuth,distance…etc. Let me know if there is something that you can’t accomplish with it.