However Ive found that these colors can also be used at least in this context.
Color names for matplotlib. Rand 100 Area np. Pltplotx i x i labely ix iformatii. It turns out that matplotlib accepts not only these default color names but the full range of html color names.
I can find a list on the matplotlib documentation that claims that these are the only names. Import numpy as np. Using matplotlibpyplot to depict a bar graph and display its title using matplotlibpyplottitle.
You can choose any of these markers. If there are no specified values Matplotlib defaults to the order of the Artists added to the Axes. From __future__ import absolute_import division print_function unicode_literals import six import numpy as np import matplotlibpyplot as plt from matplotlib import colors as mcolors colors dict mcolors.
Named colors in matplotlib. By default it cycles through blue green red cyan magenta yellow black. The alpha for an Artist controls opacity.
Pylabplot x y DarkOrange and get a dark orange color. X nplinspace0 1 10 for i in range1 6. And yellow-blue b.
Finally legal html names for colors like red burlywood and chartreuse are supported. However Ive found that these colors can also be used at least in this context. The following are 20 code examples for showing how to use matplotlibcolorscnamesThese examples are extracted from open source projects.