August 2017
Beginner to intermediate
334 pages
8h 22m
English
There are two groups of markers, unfilled markers and filled_markers.
The full set of available markers can be found by calling Line2D.markers, which will output a dictionary of symbols and their corresponding marker style names. A subset of filled markers that gives more visual weight is under Line2D.filled_markers.
Here are some of the most typical markers:
Here is a scatter plot of random numbers to illustrate the various marker types:
import numpy as npimport matplotlib.pyplot as pltfrom matplotlib.lines import Line2D# Prepare 100 random numbers to plotx = np.random.rand(100)y = np.random.rand(100)# Prepare 100 ...
Read now
Unlock full access