MCPcopy Create free account
hub / github.com/vispy/vispy / _configure_3d

Method _configure_3d

vispy/plot/plotwidget.py:153–163  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

151 self.yaxis.link_view(self.view)
152
153 def _configure_3d(self):
154 if self._configured:
155 return
156
157 self.view = self.grid.add_view(row=0, col=0,
158 border_color='grey', bgcolor="#efefef")
159
160 self.view.camera = 'turntable'
161 self.camera = self.view.camera
162
163 self._configured = True
164
165 def histogram(self, data, bins=10, color='w', orientation='h'):
166 """Calculate and show a histogram of data

Callers 3

meshMethod · 0.95
volumeMethod · 0.95
surfaceMethod · 0.95

Calls 1

add_viewMethod · 0.45

Tested by

no test coverage detected