"""Plot to test line styles"""
import matplotlib.pyplot as plt
import numpy as np

def main():
    fig, ax = plt.subplots()

    np.random.seed(0)
    numPoints=10
    for marker in ['or','vb','^g','+y','dw']:
        ax.plot(np.random.normal(size=numPoints),
                np.random.normal(size=numPoints),
                marker, ms=5+20*np.random.uniform(), alpha=0.5*np.random.uniform())

    ax.set_xlabel('this is x')
    ax.set_ylabel('this is y')
    ax.set_title('Marker test!', size=14)
    ax.grid(color='lightgray', alpha=0.7)

    return fig

if __name__ == '__main__':
    main()
    plt.show()

test module