View Brainspace vtk surface rendering Notes ----- This only shows the plot created by brainspace.plotting.surface_plotting.plot_surf, and will not include colorbars created by :func:`~surfplot.plottong.Plot.plot` or any other matplotlib components.
(self, embed_nb=False, interactive=True, transparent_bg=True,
scale=(1, 1))
| 522 | return fig |
| 523 | |
| 524 | def show(self, embed_nb=False, interactive=True, transparent_bg=True, |
| 525 | scale=(1, 1)): |
| 526 | """View Brainspace vtk surface rendering |
| 527 | |
| 528 | Notes |
| 529 | ----- |
| 530 | This only shows the plot created by |
| 531 | brainspace.plotting.surface_plotting.plot_surf, and will not include |
| 532 | colorbars created by :func:`~surfplot.plottong.Plot.plot` or any |
| 533 | other matplotlib components. |
| 534 | |
| 535 | Parameters |
| 536 | ---------- |
| 537 | embed_nb : bool, optional |
| 538 | Whether to embed figure in notebook. Only used if running in a |
| 539 | notebook. Default: False |
| 540 | interactive : bool, optional |
| 541 | Whether to enable interaction, default: True |
| 542 | scale : tuple, optional |
| 543 | Amount to scale the surface plot, default: (1, 1) |
| 544 | |
| 545 | Returns |
| 546 | ------- |
| 547 | Ipython Image or vtk panel |
| 548 | Brainspace surface plot rendering |
| 549 | """ |
| 550 | p = self.render(offscreen=False) |
| 551 | return p.show(embed_nb, interactive, scale=scale) |
no test coverage detected