Python matplotlib.lines.lineMarkers() Examples

The following are 8 code examples of matplotlib.lines.lineMarkers(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module matplotlib.lines , or try the search function .
Example #1
Source File: _misc.py    From recruit with Apache License 2.0 5 votes vote down vote up
def _get_marker_compat(marker):
    import matplotlib.lines as mlines
    if marker not in mlines.lineMarkers:
        return 'o'
    return marker 
Example #2
Source File: _misc.py    From vnpy_crypto with MIT License 5 votes vote down vote up
def _get_marker_compat(marker):
    import matplotlib.lines as mlines
    import matplotlib as mpl
    if mpl.__version__ < '1.1.0' and marker == '.':
        return 'o'
    if marker not in mlines.lineMarkers:
        return 'o'
    return marker 
Example #3
Source File: plotting.py    From Computable with MIT License 5 votes vote down vote up
def _get_marker_compat(marker):
    import matplotlib.lines as mlines
    import matplotlib as mpl
    if mpl.__version__ < '1.1.0' and marker == '.':
        return 'o'
    if marker not in mlines.lineMarkers:
        return 'o'
    return marker 
Example #4
Source File: _misc.py    From predictive-maintenance-using-machine-learning with Apache License 2.0 5 votes vote down vote up
def _get_marker_compat(marker):
    import matplotlib.lines as mlines
    if marker not in mlines.lineMarkers:
        return 'o'
    return marker 
Example #5
Source File: _misc.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
def _get_marker_compat(marker):
    import matplotlib.lines as mlines
    import matplotlib as mpl
    if mpl.__version__ < '1.1.0' and marker == '.':
        return 'o'
    if marker not in mlines.lineMarkers:
        return 'o'
    return marker 
Example #6
Source File: _misc.py    From elasticintel with GNU General Public License v3.0 5 votes vote down vote up
def _get_marker_compat(marker):
    import matplotlib.lines as mlines
    import matplotlib as mpl
    if mpl.__version__ < '1.1.0' and marker == '.':
        return 'o'
    if marker not in mlines.lineMarkers:
        return 'o'
    return marker 
Example #7
Source File: _misc.py    From coffeegrindsize with MIT License 5 votes vote down vote up
def _get_marker_compat(marker):
    import matplotlib.lines as mlines
    if marker not in mlines.lineMarkers:
        return 'o'
    return marker 
Example #8
Source File: _misc.py    From twitter-stock-recommendation with MIT License 5 votes vote down vote up
def _get_marker_compat(marker):
    import matplotlib.lines as mlines
    import matplotlib as mpl
    if mpl.__version__ < '1.1.0' and marker == '.':
        return 'o'
    if marker not in mlines.lineMarkers:
        return 'o'
    return marker