vispy.visuals.isocurve.
IsocurveVisual
Bases: vispy.visuals.line.line.LineVisual
vispy.visuals.line.line.LineVisual
Displays an isocurve of a 2D scalar array.
2D scalar array.
The levels at which the isocurve is constructed from “data”.
The color to use when drawing the line. If a list is given, it must be of shape (Nlev), if an array is given, it must be of shape (Nlev, …). and provide one color per level (rgba, colorname).
(min, max) limits to apply when mapping level values through a colormap.
Keyword arguments to pass to LineVisual.
color
levels
The threshold at which the isocurve is constructed from the 2D data.
set_data
Set the scalar array data
A 2D array of scalar values. The isocurve is constructed to show all locations in the scalar field equal to self.levels.
self.levels