Parameters: |
│ │ │ - size_factorfloat
The size factor to use.
│ │ │ @@ -788,23 +788,23 @@
│ │ │ changes, so we use a timer to animate transitions in the transform
│ │ │ properties.
│ │ │ The camera also adjusts the size of its “lens” area when the view is
│ │ │ resized.
│ │ │
│ │ │ -
│ │ │
transform_class [source]
│ │ │ -alias of vispy.visuals.transforms.nonlinear.Magnify1DTransform
│ │ │ +alias of vispy.visuals.transforms.nonlinear.Magnify1DTransform
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.cameras. MagnifyCamera (size_factor=0.25, radius_ratio=0.9, **kwargs)[source]
│ │ │ -Bases: vispy.scene.cameras.panzoom.PanZoomCamera
│ │ │ +Bases: vispy.scene.cameras.panzoom.PanZoomCamera
│ │ │ Camera implementing a MagnifyTransform combined with PanZoomCamera.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - size_factorfloat
The size factor to use.
│ │ │ @@ -844,15 +844,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │
transform_class [source]
│ │ │ -alias of vispy.visuals.transforms.nonlinear.MagnifyTransform
│ │ │ +alias of vispy.visuals.transforms.nonlinear.MagnifyTransform
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │
view_changed ()[source]
│ │ │ Called when this camera is changes its view. Also called
│ │ │ when its associated with a viewbox.
│ │ │ @@ -895,15 +895,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.cameras. PanZoomCamera (rect=(0, 0, 1, 1), aspect=None, **kwargs)[source]
│ │ │ -Bases: vispy.scene.cameras.base_camera.BaseCamera
│ │ │ +Bases: vispy.scene.cameras.base_camera.BaseCamera
│ │ │ Camera implementing 2D pan/zoom mouse interaction.
│ │ │ For this camera, the scale_factor indicates the zoom level, and
│ │ │ the center indicates the center position of the view.
│ │ │ By default, this camera inverts the y axis of the scene. This usually
│ │ │ results in the scene +y axis pointing upward because widgets (including
│ │ │ ViewBox) have their +y axis pointing downward.
│ │ │
│ │ │ @@ -1042,15 +1042,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.cameras. TurntableCamera (fov=45.0, elevation=30.0, azimuth=30.0, roll=0.0, distance=None, translate_speed=1.0, **kwargs)[source]
│ │ │ -Bases: vispy.scene.cameras.perspective.Base3DRotationCamera
│ │ │ +Bases: vispy.scene.cameras.perspective.Base3DRotationCamera
│ │ │ 3D camera class that orbits around a center point while
│ │ │ maintaining a view on a center point.
│ │ │ For this camera, the scale_factor indicates the zoom level, and
│ │ │ the center indicates the position to put at the center of the
│ │ │ view.
│ │ │
│ │ │
│ │ │ @@ -1137,15 +1137,15 @@
│ │ │
│ │ │
│ │ │
│ │ │ vispy.scene.canvas
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.canvas. SceneCanvas (title='VisPy canvas', size=(800, 600), position=None, show=False, autoswap=True, app=None, create_native=True, vsync=False, resizable=True, decorate=True, fullscreen=False, config=None, shared=None, keys=None, parent=None, dpi=None, always_on_top=False, px_scale=1, bgcolor='black')[source]
│ │ │ -Bases: vispy.app.canvas.Canvas , vispy.util.frozen.Frozen
│ │ │ +Bases: vispy.app.canvas.Canvas , vispy.util.frozen.Frozen
│ │ │ A Canvas that automatically draws the contents of a scene
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - titlestr
The widget title
│ │ │ @@ -1925,15 +1925,15 @@
│ │ │ These classes are automatically generated by mixing vispy.scene.Node with
│ │ │ the Visual classes found in vispy.visuals.
│ │ │ For developing custom visuals, it is recommended to subclass from
│ │ │ vispy.visuals.Visual rather than vispy.scene.Node.
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Arrow (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.line.arrow.ArrowVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.line.arrow.ArrowVisual
│ │ │ Arrow visual
│ │ │ This class inherits from visuals.ArrowVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │ A special line visual which can also draw optional arrow heads at the
│ │ │ specified vertices.
│ │ │ You add an arrow head by specifying two vertices v1 and v2 which
│ │ │ represent the arrow body. This visual will draw an arrow head using v2
│ │ │ as center point, and the orientation of the arrow head is automatically
│ │ │ @@ -2018,15 +2018,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Axis (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.axis.AxisVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.axis.AxisVisual
│ │ │ Axis visual
│ │ │ This class inherits from visuals.AxisVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2085,15 +2085,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Box (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.box.BoxVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.box.BoxVisual
│ │ │ Visual that displays a box.
│ │ │ This class inherits from visuals.BoxVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2132,15 +2132,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. ColorBar (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.colorbar.ColorBarVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.colorbar.ColorBarVisual
│ │ │ Visual subclass displaying a colorbar
│ │ │ This class inherits from visuals.ColorBarVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2210,15 +2210,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Compound (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.visual.CompoundVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.visual.CompoundVisual
│ │ │ Visual consisting entirely of sub-visuals.
│ │ │ This class inherits from visuals.CompoundVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │ To the user, a compound visual behaves exactly like a normal visual–it
│ │ │ has a transform system, draw() and bounds() methods, etc. Internally, the
│ │ │ compound visual automatically manages proxying these transforms and methods
│ │ │ to its sub-visuals.
│ │ │
│ │ │ @@ -2239,15 +2239,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Cube (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.cube.CubeVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.cube.CubeVisual
│ │ │ Visual that displays a cube or cuboid
│ │ │ This class inherits from visuals.CubeVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2274,15 +2274,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Ellipse (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.ellipse.EllipseVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.ellipse.EllipseVisual
│ │ │ Displays a 2D ellipse
│ │ │ This class inherits from visuals.EllipseVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2321,15 +2321,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Graph (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.graphs.graph.GraphVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.graphs.graph.GraphVisual
│ │ │ Visual for displaying graphs or networks.
│ │ │ This class inherits from visuals.GraphVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2379,15 +2379,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. GridLines (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.gridlines.GridLinesVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.gridlines.GridLinesVisual
│ │ │ Displays regularly spaced grid lines in any coordinate system and at
│ │ │ any scale.
│ │ │ This class inherits from visuals.GridLinesVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ @@ -2408,15 +2408,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. GridMesh (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.gridmesh.GridMeshVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.gridmesh.GridMeshVisual
│ │ │ Displays a mesh in a Cartesian grid about x,y,z coordinates.
│ │ │ This class inherits from visuals.GridMeshVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │ This makes it simple to generate a mesh from e.g. the output
│ │ │ of numpy.meshgrid.
│ │ │ All arguments are optional, though they can be changed
│ │ │ individually later with the set_data method.
│ │ │
│ │ │ @@ -2454,15 +2454,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Histogram (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.histogram.HistogramVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.histogram.HistogramVisual
│ │ │ Visual that calculates and displays a histogram of data
│ │ │ This class inherits from visuals.HistogramVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2485,15 +2485,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Image (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.image.ImageVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.image.ImageVisual
│ │ │ Visual subclass displaying an image.
│ │ │ This class inherits from visuals.ImageVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2555,15 +2555,15 @@
│ │ │ The colormap functionality through cmap and clim are only used
│ │ │ if the data are 2D.
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. InfiniteLine (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.infinite_line.InfiniteLineVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.infinite_line.InfiniteLineVisual
│ │ │ Infinite horizontal or vertical line for 2D plots.
│ │ │ This class inherits from visuals.InfiniteLineVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2585,15 +2585,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Isocurve (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.isocurve.IsocurveVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.isocurve.IsocurveVisual
│ │ │ Displays an isocurve of a 2D scalar array.
│ │ │ This class inherits from visuals.IsocurveVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2621,15 +2621,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Isoline (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.isoline.IsolineVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.isoline.IsolineVisual
│ │ │ Isocurves of a tri mesh with data at vertices at different levels.
│ │ │ This class inherits from visuals.IsolineVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2657,15 +2657,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Isosurface (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.isosurface.IsosurfaceVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.isosurface.IsosurfaceVisual
│ │ │ Displays an isosurface of a 3D scalar array.
│ │ │ This class inherits from visuals.IsosurfaceVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2692,15 +2692,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Line (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.line.line.LineVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.line.line.LineVisual
│ │ │ Line visual
│ │ │ This class inherits from visuals.LineVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2751,15 +2751,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. LinePlot (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.line_plot.LinePlotVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.line_plot.LinePlotVisual
│ │ │ Visual displaying a plot line with optional markers.
│ │ │ This class inherits from visuals.LinePlotVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2811,15 +2811,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. LinearRegion (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.linear_region.LinearRegionVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.linear_region.LinearRegionVisual
│ │ │ Infinite horizontal or vertical region for 2D plots.
│ │ │ This class inherits from visuals.LinearRegionVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2842,15 +2842,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Markers (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.markers.MarkersVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.markers.MarkersVisual
│ │ │ Visual displaying marker symbols.
│ │ │ This class inherits from visuals.MarkersVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2865,15 +2865,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Mesh (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.mesh.MeshVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.mesh.MeshVisual
│ │ │ Mesh visual
│ │ │ This class inherits from visuals.MeshVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2908,15 +2908,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Plane (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.plane.PlaneVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.plane.PlaneVisual
│ │ │ Visual that displays a plane.
│ │ │ This class inherits from visuals.PlaneVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2951,15 +2951,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Polygon (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.polygon.PolygonVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.polygon.PolygonVisual
│ │ │ Displays a 2D polygon
│ │ │ This class inherits from visuals.PolygonVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2999,15 +2999,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Rectangle (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.rectangle.RectangleVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.rectangle.RectangleVisual
│ │ │ Displays a 2D rectangle with optional rounded corners
│ │ │ This class inherits from visuals.RectangleVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -3043,15 +3043,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. RegularPolygon (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.regular_polygon.RegularPolygonVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.regular_polygon.RegularPolygonVisual
│ │ │ Displays a regular polygon
│ │ │ This class inherits from visuals.RegularPolygonVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -3079,15 +3079,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. ScrollingLines (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.scrolling_lines.ScrollingLinesVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.scrolling_lines.ScrollingLinesVisual
│ │ │ Displays many line strips of equal length, with the option to add new
│ │ │ vertex data to one end of the lines.
│ │ │ This class inherits from visuals.ScrollingLinesVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ @@ -3118,15 +3118,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Spectrogram (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.spectrogram.SpectrogramVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.spectrogram.SpectrogramVisual
│ │ │ Calculate and show a spectrogram
│ │ │ This class inherits from visuals.SpectrogramVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -3162,15 +3162,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Sphere (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.sphere.SphereVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.sphere.SphereVisual
│ │ │ Visual that displays a sphere
│ │ │ This class inherits from visuals.SphereVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -3215,15 +3215,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. SurfacePlot (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.surface_plot.SurfacePlotVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.surface_plot.SurfacePlotVisual
│ │ │ Displays a surface plot on a regular x,y grid
│ │ │ This class inherits from visuals.SurfacePlotVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -3255,15 +3255,15 @@
│ │ │ For faster performance, initialize with compute_normals=False and use
│ │ │ per-vertex colors or a material that does not require normals.
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Text (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.text.text.TextVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.text.text.TextVisual
│ │ │ Visual that displays text
│ │ │ This class inherits from visuals.TextVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │ - Note: SDF GPU is not currently supported in WebGL without additional
- extensions (see comments in fragment shader below).
│ │ │
│ │ │
│ │ │
│ │ │ @@ -3311,15 +3311,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Tube (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.tube.TubeVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.tube.TubeVisual
│ │ │ Displays a tube around a piecewise-linear path.
│ │ │ This class inherits from visuals.TubeVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │ The tube mesh is corrected following its Frenet curvature and
│ │ │ torsion such that it varies smoothly along the curve, including if
│ │ │ the tube is closed.
│ │ │
│ │ │
│ │ │ @@ -3384,15 +3384,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Volume (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.volume.VolumeVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.volume.VolumeVisual
│ │ │ Displays a 3D Volume
│ │ │ This class inherits from visuals.VolumeVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -3428,15 +3428,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. Windbarb (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.windbarb.WindbarbVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.windbarb.WindbarbVisual
│ │ │ Visual displaying windbarbs.
│ │ │ This class inherits from visuals.WindbarbVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -3451,15 +3451,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.visuals. XYZAxis (*args, **kwargs)[source]
│ │ │ -Bases: vispy.scene.visuals.VisualNode , vispy.visuals.xyz_axis.XYZAxisVisual
│ │ │ +Bases: vispy.scene.visuals.VisualNode , vispy.visuals.xyz_axis.XYZAxisVisual
│ │ │ Simple 3D axis for indicating coordinate system orientation. Axes are
│ │ │ x=red, y=green, z=blue.
│ │ │ This class inherits from visuals.XYZAxisVisual and scene.Node, allowing the visual to be placed inside a scenegraph.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ @@ -3482,15 +3482,15 @@
│ │ │ vispy.scene.widgets
│ │ │ The vispy.scene.widgets namespace provides a range of widgets to allow
│ │ │ user interaction. Widgets are rectangular Visual objects such as buttons
│ │ │ and sliders.
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.widgets. AxisWidget (orientation='left', **kwargs)[source]
│ │ │ -Bases: vispy.scene.widgets.widget.Widget
│ │ │ +Bases: vispy.scene.widgets.widget.Widget
│ │ │ Widget containing an axis
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - orientationstr
Orientation of the axis, ‘left’ or ‘bottom’.
│ │ │ @@ -3541,15 +3541,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.widgets. ColorBarWidget (cmap, orientation, label='', label_color='black', clim=('', ''), border_width=0.0, border_color='black', padding=(0.2, 0.2), axis_ratio=0.05, **kwargs)[source]
│ │ │ -Bases: vispy.scene.widgets.widget.Widget
│ │ │ +Bases: vispy.scene.widgets.widget.Widget
│ │ │ Widget containing a ColorBar
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - cmapstr | vispy.color.ColorMap
Either the name of the ColorMap to be used from the standard
│ │ │ @@ -3637,15 +3637,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.widgets. Console (text_color='black', font_size=12.0, **kwargs)[source]
│ │ │ -Bases: vispy.scene.widgets.widget.Widget
│ │ │ +Bases: vispy.scene.widgets.widget.Widget
│ │ │ Fast and failsafe text console
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - text_colorinstance of Color
Color to use.
│ │ │ @@ -3715,15 +3715,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.widgets. Grid (spacing=6, **kwargs)[source]
│ │ │ -Bases: vispy.scene.widgets.widget.Widget
│ │ │ +Bases: vispy.scene.widgets.widget.Widget
│ │ │ Widget that automatically sets the position and size of child Widgets to
│ │ │ proportionally divide its internal area into a grid.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -3863,15 +3863,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.widgets. Label (text, rotation=0.0, **kwargs)[source]
│ │ │ -Bases: vispy.scene.widgets.widget.Widget
│ │ │ +Bases: vispy.scene.widgets.widget.Widget
│ │ │ Label widget
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - textstr
The label.
│ │ │ @@ -3904,15 +3904,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.scene.widgets. ViewBox (camera=None, **kwargs)[source]
│ │ │ -Bases: vispy.scene.widgets.widget.Widget
│ │ │ +Bases: vispy.scene.widgets.widget.Widget
│ │ │ Provides a rectangular widget to which its subscene is rendered.
│ │ │ Three classes work together when using a ViewBox:
│ │ │ * The SubScene class describes a “world” coordinate system and the
│ │ │ entities that live inside it.
│ │ │ * ViewBox is a “window” through which we view the
│ │ │ subscene. Multiple ViewBoxes may view the same subscene.
│ │ │ * Camera describes both the perspective from which the
│ │ ├── ./usr/share/doc/python-vispy-doc/html/vispy.html
│ │ │ @@ -396,15 +396,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │ Notes
│ │ │ If the app option is given, vispy.app.use_app() is called. If
│ │ │ the gl option is given, vispy.gloo.use_gl() is called.
│ │ │ If an app backend name is provided, and that backend could not be
│ │ │ loaded, an error is raised.
│ │ ├── ./usr/share/doc/python-vispy-doc/html/visuals.html
│ │ │ @@ -279,15 +279,15 @@
│ │ │ 2D shapes, images, text, etc.
│ │ │ These classes define only the OpenGL machinery and connot be used directly in
│ │ │ a scenegraph. For scenegraph use, see the complementary Visual+Node classes
│ │ │ defined in vispy.scene.
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. ArrowVisual (pos=None, color=(0.5, 0.5, 0.5, 1), width=1, connect='strip', method='gl', antialias=False, arrows=None, arrow_type='stealth', arrow_size=None, arrow_color=(0.5, 0.5, 0.5, 1))[source]
│ │ │ -Bases: vispy.visuals.line.line.LineVisual
│ │ │ +Bases: vispy.visuals.line.line.LineVisual
│ │ │ Arrow visual
│ │ │ A special line visual which can also draw optional arrow heads at the
│ │ │ specified vertices.
│ │ │ You add an arrow head by specifying two vertices v1 and v2 which
│ │ │ represent the arrow body. This visual will draw an arrow head using v2
│ │ │ as center point, and the orientation of the arrow head is automatically
│ │ │ determined by calculating the direction vector between v1 and v2.
│ │ │ @@ -409,15 +409,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. AxisVisual (pos=None, domain=(0.0, 1.0), tick_direction=(- 1.0, 0.0), scale_type='linear', axis_color=(1, 1, 1), tick_color=(0.7, 0.7, 0.7), text_color='w', minor_tick_length=5, major_tick_length=10, tick_width=2, tick_label_margin=5, tick_font_size=8, axis_width=3, axis_label=None, axis_label_margin=35, axis_font_size=10, font_size=None, anchors=None)[source]
│ │ │ -Bases: vispy.visuals.visual.CompoundVisual
│ │ │ +Bases: vispy.visuals.visual.CompoundVisual
│ │ │ Axis visual
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - posarray
Co-ordinates of start and end of the axis.
│ │ │ @@ -470,15 +470,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. BaseVisual (vshare=None)[source]
│ │ │ -Bases: vispy.util.frozen.Frozen
│ │ │ +Bases: vispy.util.frozen.Frozen
│ │ │ Superclass for all visuals.
│ │ │ This class provides:
│ │ │
│ │ │
│ │ │ - A TransformSystem.
│ │ │ - Two events: update and bounds_change.
│ │ │ - Minimal framework for creating views of the visual.
│ │ │ @@ -600,15 +600,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. BoxVisual (width=1, height=1, depth=1, width_segments=1, height_segments=1, depth_segments=1, planes=None, vertex_colors=None, face_colors=None, color=(0.5, 0.5, 1, 1), edge_color=None, **kwargs)[source]
│ │ │ -Bases: vispy.visuals.visual.CompoundVisual
│ │ │ +Bases: vispy.visuals.visual.CompoundVisual
│ │ │ Visual that displays a box.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - widthfloat
Box width.
│ │ │ @@ -653,15 +653,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. ColorBarVisual (cmap, orientation, size, pos=[0, 0], label_str='', label_color='black', clim=(0.0, 1.0), border_width=1.0, border_color='black', **kwargs)[source]
│ │ │ -Bases: vispy.visuals.visual.CompoundVisual
│ │ │ +Bases: vispy.visuals.visual.CompoundVisual
│ │ │ Visual subclass displaying a colorbar
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - cmapstr | vispy.color.ColorMap
Either the name of the ColorMap to be used from the standard
│ │ │ @@ -815,15 +815,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. CompoundVisual (subvisuals)[source]
│ │ │ -Bases: vispy.visuals.visual.BaseVisual
│ │ │ +Bases: vispy.visuals.visual.BaseVisual
│ │ │ Visual consisting entirely of sub-visuals.
│ │ │ To the user, a compound visual behaves exactly like a normal visual–it
│ │ │ has a transform system, draw() and bounds() methods, etc. Internally, the
│ │ │ compound visual automatically manages proxying these transforms and methods
│ │ │ to its sub-visuals.
│ │ │
│ │ │
│ │ │ @@ -961,15 +961,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. CubeVisual (size=1.0, vertex_colors=None, face_colors=None, color=(0.5, 0.5, 1, 1), edge_color=None, **kwargs)[source]
│ │ │ -Bases: vispy.visuals.box.BoxVisual
│ │ │ +Bases: vispy.visuals.box.BoxVisual
│ │ │ Visual that displays a cube or cuboid
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - sizefloat or tuple
The size of the cuboid. A float gives a cube, whereas tuples may
│ │ │ @@ -990,15 +990,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. EllipseVisual (center=None, color='black', border_color=None, border_width=1, radius=(0.1, 0.1), start_angle=0.0, span_angle=360.0, num_segments=100, **kwargs)[source]
│ │ │ -Bases: vispy.visuals.polygon.PolygonVisual
│ │ │ +Bases: vispy.visuals.polygon.PolygonVisual
│ │ │ Displays a 2D ellipse
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - centerarray
Center of the ellipse
│ │ │ @@ -1061,15 +1061,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. GraphVisual (adjacency_mat=None, directed=False, layout=None, animate=False, line_color=None, line_width=None, arrow_type=None, arrow_size=None, node_symbol=None, node_size=None, border_color=None, face_color=None, border_width=None)[source]
│ │ │ -Bases: vispy.visuals.visual.CompoundVisual
│ │ │ +Bases: vispy.visuals.visual.CompoundVisual
│ │ │ Visual for displaying graphs or networks.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - adjacency_matarray or sparse
The adjacency matrix of the graph.
│ │ │ @@ -1133,15 +1133,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. GridLinesVisual (scale=(1, 1), color='w')[source]
│ │ │ -Bases: vispy.visuals.image.ImageVisual
│ │ │ +Bases: vispy.visuals.image.ImageVisual
│ │ │ Displays regularly spaced grid lines in any coordinate system and at
│ │ │ any scale.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -1156,15 +1156,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. GridMeshVisual (xs, ys, zs, colors=None, shading='smooth', **kwargs)[source]
│ │ │ -Bases: vispy.visuals.mesh.MeshVisual
│ │ │ +Bases: vispy.visuals.mesh.MeshVisual
│ │ │ Displays a mesh in a Cartesian grid about x,y,z coordinates.
│ │ │ This makes it simple to generate a mesh from e.g. the output
│ │ │ of numpy.meshgrid.
│ │ │ All arguments are optional, though they can be changed
│ │ │ individually later with the set_data method.
│ │ │
│ │ │
│ │ │ @@ -1222,15 +1222,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. HistogramVisual (data, bins=10, color='w', orientation='h')[source]
│ │ │ -Bases: vispy.visuals.mesh.MeshVisual
│ │ │ +Bases: vispy.visuals.mesh.MeshVisual
│ │ │ Visual that calculates and displays a histogram of data
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - dataarray-like
Data to histogram. Currently only 1D data is supported.
│ │ │ @@ -1247,15 +1247,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. ImageVisual (data=None, method='auto', grid=(1, 1), cmap='viridis', clim='auto', interpolation='nearest', **kwargs)[source]
│ │ │ -Bases: vispy.visuals.visual.Visual
│ │ │ +Bases: vispy.visuals.visual.Visual
│ │ │ Visual subclass displaying an image.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - datandarray
ImageVisual data. Can be shape (M, N), (M, N, 3), or (M, N, 4).
│ │ │ @@ -1335,15 +1335,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. InfiniteLineVisual (pos=None, color=(1.0, 1.0, 1.0, 1.0), vertical=True, **kwargs)[source]
│ │ │ -Bases: vispy.visuals.visual.Visual
│ │ │ +Bases: vispy.visuals.visual.Visual
│ │ │ Infinite horizontal or vertical line for 2D plots.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - posfloat
Position of the line along the axis.
│ │ │ @@ -1380,15 +1380,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. IsocurveVisual (data=None, levels=None, color_lev=None, clim=None, **kwargs)[source]
│ │ │ -Bases: vispy.visuals.line.line.LineVisual
│ │ │ +Bases: vispy.visuals.line.line.LineVisual
│ │ │ Displays an isocurve of a 2D scalar array.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - datandarray | None
2D scalar array.
│ │ │ @@ -1436,15 +1436,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. IsolineVisual (vertices=None, tris=None, data=None, levels=None, color_lev=None, **kwargs)[source]
│ │ │ -Bases: vispy.visuals.line.line.LineVisual
│ │ │ +Bases: vispy.visuals.line.line.LineVisual
│ │ │ Isocurves of a tri mesh with data at vertices at different levels.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - verticesndarray, shape (Nv, 3) | None
Vertex coordinates.
│ │ │ @@ -1518,15 +1518,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. IsosurfaceVisual (data=None, level=None, vertex_colors=None, face_colors=None, color=(0.5, 0.5, 1, 1), **kwargs)[source]
│ │ │ -Bases: vispy.visuals.mesh.MeshVisual
│ │ │ +Bases: vispy.visuals.mesh.MeshVisual
│ │ │ Displays an isosurface of a 3D scalar array.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - datandarray | None
3D scalar array.
│ │ │ @@ -1579,15 +1579,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. LinePlotVisual (data=None, color='k', symbol=None, line_kind='-', width=1.0, marker_size=10.0, edge_color='k', face_color='w', edge_width=1.0, connect='strip')[source]
│ │ │ -Bases: vispy.visuals.visual.CompoundVisual
│ │ │ +Bases: vispy.visuals.visual.CompoundVisual
│ │ │ Visual displaying a plot line with optional markers.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - dataarray-like
Arguments can be passed as (Y,) , (X, Y) , (X, Y, Z) or
│ │ │ @@ -1653,15 +1653,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. LineVisual (pos=None, color=(0.5, 0.5, 0.5, 1), width=1, connect='strip', method='gl', antialias=False)[source]
│ │ │ -Bases: vispy.visuals.visual.CompoundVisual
│ │ │ +Bases: vispy.visuals.visual.CompoundVisual
│ │ │ Line visual
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - posarray
Array of shape (…, 2) or (…, 3) specifying vertex coordinates.
│ │ │ @@ -1749,15 +1749,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. LinearRegionVisual (pos=None, color=[1.0, 1.0, 1.0, 1.0], vertical=True, **kwargs)[source]
│ │ │ -Bases: vispy.visuals.visual.Visual
│ │ │ +Bases: vispy.visuals.visual.Visual
│ │ │ Infinite horizontal or vertical region for 2D plots.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - poslist, tuple or numpy array
Bounds of the region along the axis. len(pos) must be >=2.
│ │ │ @@ -1796,15 +1796,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. MarkersVisual (**kwargs)[source]
│ │ │ -Bases: vispy.visuals.visual.Visual
│ │ │ +Bases: vispy.visuals.visual.Visual
│ │ │ Visual displaying marker symbols.
│ │ │
│ │ │ -
│ │ │
set_data (pos=None, symbol='o', size=10.0, edge_width=1.0, edge_width_rel=None, edge_color='black', face_color='white', scaling=False)[source]
│ │ │ Set the data used to display this visual.
│ │ │
│ │ │
│ │ │ @@ -1840,15 +1840,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. MeshVisual (vertices=None, faces=None, vertex_colors=None, face_colors=None, color=(0.5, 0.5, 1, 1), vertex_values=None, meshdata=None, shading=None, mode='triangles', **kwargs)[source]
│ │ │ -Bases: vispy.visuals.visual.Visual
│ │ │ +Bases: vispy.visuals.visual.Visual
│ │ │ Mesh visual
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - verticesarray-like | None
The vertices.
│ │ │ @@ -1960,15 +1960,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. PlaneVisual (width=1, height=1, width_segments=1, height_segments=1, direction='+z', vertex_colors=None, face_colors=None, color=(0.5, 0.5, 1, 1), edge_color=None)[source]
│ │ │ -Bases: vispy.visuals.visual.CompoundVisual
│ │ │ +Bases: vispy.visuals.visual.CompoundVisual
│ │ │ Visual that displays a plane.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - widthfloat
Plane width.
│ │ │ @@ -1997,15 +1997,15 @@
│ │ │ |
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. PolygonVisual (pos=None, color='black', border_color=None, border_width=1, border_method='gl', triangulate=True, **kwargs)[source]
│ │ │ -Bases: vispy.visuals.visual.CompoundVisual
│ │ │ +Bases: vispy.visuals.visual.CompoundVisual
│ │ │ Displays a 2D polygon
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - posarray
Set of vertices defining the polygon.
│ │ │ @@ -2071,15 +2071,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. RectangleVisual (center=None, color='black', border_color=None, border_width=1, height=1.0, width=1.0, radius=[0.0, 0.0, 0.0, 0.0], **kwargs)[source]
│ │ │ -Bases: vispy.visuals.polygon.PolygonVisual
│ │ │ +Bases: vispy.visuals.polygon.PolygonVisual
│ │ │ Displays a 2D rectangle with optional rounded corners
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - centerarray
Center of the rectangle
│ │ │ @@ -2133,15 +2133,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. RegularPolygonVisual (center=None, color='black', border_color=None, border_width=1, radius=0.1, sides=4, **kwargs)[source]
│ │ │ -Bases: vispy.visuals.ellipse.EllipseVisual
│ │ │ +Bases: vispy.visuals.ellipse.EllipseVisual
│ │ │ Displays a regular polygon
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - centerarray-like (x, y)
Center of the regular polygon
│ │ │ @@ -2169,15 +2169,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. ScrollingLinesVisual (n_lines, line_size, dx, color=None, pos_offset=None, columns=None, cell_size=None)[source]
│ │ │ -Bases: vispy.visuals.visual.Visual
│ │ │ +Bases: vispy.visuals.visual.Visual
│ │ │ Displays many line strips of equal length, with the option to add new
│ │ │ vertex data to one end of the lines.
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ @@ -2277,15 +2277,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. SpectrogramVisual (x, n_fft=256, step=None, fs=1.0, window='hann', color_scale='log', cmap='cubehelix', clim='auto')[source]
│ │ │ -Bases: vispy.visuals.image.ImageVisual
│ │ │ +Bases: vispy.visuals.image.ImageVisual
│ │ │ Calculate and show a spectrogram
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - xarray-like
1D signal to operate on. If len(x) < n_fft , x will be
│ │ │ @@ -2321,15 +2321,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. SphereVisual (radius=1.0, cols=30, rows=30, depth=30, subdivisions=3, method='latitude', vertex_colors=None, face_colors=None, color=(0.5, 0.5, 1, 1), edge_color=None, shading=None, **kwargs)[source]
│ │ │ -Bases: vispy.visuals.visual.CompoundVisual
│ │ │ +Bases: vispy.visuals.visual.CompoundVisual
│ │ │ Visual that displays a sphere
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - radiusfloat
The size of the sphere.
│ │ │ @@ -2380,15 +2380,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. SurfacePlotVisual (x=None, y=None, z=None, colors=None, **kwargs)[source]
│ │ │ -Bases: vispy.visuals.mesh.MeshVisual
│ │ │ +Bases: vispy.visuals.mesh.MeshVisual
│ │ │ Displays a surface plot on a regular x,y grid
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ Parameters: |
│ │ │ - xndarray | None
1D array of values specifying the x positions of vertices in the
│ │ │ @@ -2440,15 +2440,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -
│ │ │ class
vispy.visuals. TextVisual (text=None, color='black', bold=False, italic=False, face='OpenSans', font_size=12, pos=[0, 0, 0], rotation=0.0, anchor_x='center', anchor_y='center', method='cpu', font_manager=None)[source]
│ │ │ -Bases: vispy.visuals.visual.Visual
│ │ │ +Bases:
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|
|
---|