1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
# -*- coding: utf-8 -*-
# Copyright (c) Vispy Development Team. All Rights Reserved.
# Distributed under the (new) BSD License. See LICENSE.txt for more info.
"""
=====
Vispy
=====
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.
"""
from __future__ import division
__all__ = ['use', 'sys_info', 'set_log_level', 'test']
try:
from .version import version as __version__ # noqa
except ImportError:
# package is not installed
pass
from .util import config, set_log_level, keys, sys_info # noqa
from .util.wrappers import use, test # noqa
# load the two functions that IPython uses to instantiate an extension
# that way, the user only needs to run %load_ext vispy.ipython rather that
# %load_ext vispy.ipython.ipython
from .ipython import load_ipython_extension, unload_ipython_extension # noqa
# Allow for Jupyter extension to be enabled
def _jupyter_nbextension_paths():
return [{
'section': 'notebook',
'src': 'static',
'dest': 'vispy',
'require': 'vispy/extension'
}]
|