How to use the cycler.__version__ function in cycler

To help you get started, we’ve selected a few cycler examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github chipmuenk / pyfda / pyfda / libs / pyfda_lib.py View on Github external
PY32_64 = struct.calcsize("P") * 8 # yields 32 or 64, depending on 32 or 64 bit Python

VERSION = {}
# VERSION.update({'python_long': sys.version})
VERSION.update({'python': ".".join(map(str, sys.version_info[:3]))
                            + " (" + str(PY32_64) + " Bit)"})
VERSION.update({'matplotlib': VERSION_MPL})
VERSION.update({'pyqt': QT_VERSION_STR})
VERSION.update({'numpy': VERSION_NP})
VERSION.update({'scipy': VERSION_SCI})

# ================ Optional Modules ============================
try:
    from cycler import __version__ as VERSION_CYCLER
    VERSION.update({'cycler': VERSION_CYCLER})
except ImportError:
    VERSION.update({'cycler': None})
try:
    from mayavi import __version__ as VERSION_MAYAVI
    VERSION.update({'mayavi': VERSION_MAYAVI})
except ImportError:
    pass

try:
    import migen
    VERSION_MIGEN = "installed"
except (ImportError,SyntaxError):
    VERSION_MIGEN = None
VERSION.update({'migen': VERSION_MIGEN})

try:

cycler

Composable style cycles

BSD-3-Clause
Latest version published 1 year ago

Package Health Score

77 / 100
Full package analysis