Vispy is a high-performance interactive 2D/3D data visualization library. Vispy leverages the computational power of modern Graphics Processing Units (GPUs) through the OpenGL library to display very large datasets.
For more information, see http://vispy.org.
vispy.
use
(app=None, gl=None)[source]¶Set the usage options for vispy
Specify what app backend and GL backend to use.
Parameters: | app : str
gl : str
|
---|
See also
vispy.app.use_app
, vispy.gloo.gl.use_gl
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.
If no backend name is provided, Vispy will first check if the GUI toolkit corresponding to each backend is already imported, and try that backend first. If this is unsuccessful, it will try the ‘default_backend’ provided in the vispy config. If still not succesful, it will try each backend in a predetermined order.
vispy.
sys_info
(fname=None, overwrite=False)[source]¶Get relevant system and debugging information
Parameters: | fname : str | None
overwrite : bool
|
---|---|
Returns: | out : str
|
vispy.
set_log_level
(verbose, match=None, return_old=False)[source]¶Convenience function for setting the logging level
Parameters: | verbose : bool, str, int, or None
match : str | None
return_old : bool
|
---|
See also
vispy.util.use_log_level
Notes
If verbose=='debug'
, then the vispy
method emitting the log
message will be prepended to each log message, which is useful for
debugging. If verbose=='debug'
or match is not None
, then a
small performance overhead is added. Thus it is suggested to only use
these options when performance is not crucial.
vispy.
test
(label='full', extra_arg_string='', coverage=False)[source]¶Test vispy software
Parameters: | label : str
extra_arg_string : str | list of str
coverage : bool
|
---|