Vmin and vmax are used in conjunction with the default norm to map the color array c to the colormap cmap. If None, use the default colors.Normalize. If c is an array of floats, norm is used to scale the color data, c, in the range 0 to 1, in order to map into the colormap cmap. cmap is only used if c is an array of floats. cmapstr or Colormap, default: rcParams (default: 'viridis')Ī Colormap instance or registered colormap name. See matplotlib.markers for more information about marker styles. marker can be either an instance of the class or the text shorthand for a particular marker. marker MarkerStyle, default: rcParams (default: 'o') This cycle defaults to rcParams (default: cycler('color', )). In case those are not specified or None, the marker color is determined by the next color of the Axes' current "shape and fill" color cycle. In that case the marker color is determined by the value of color, facecolor or facecolors. If you wish to specify a single color for all points prefer the color keyword argument.ĭefaults to None. ![]() Otherwise, value- matching will have precedence in case of a size matching with x and y. If you want to specify the same RGB or RGBA value for all points, use a 2D array with a single row. Note that c should not be a single numeric RGB or RGBA sequence because that is indistinguishable from an array of values to be colormapped. A 2D array in which the rows are RGB or RGBA.A scalar or sequence of n numbers to be mapped to colors using cmap and norm.carray-like or list of colors or color, optional ![]() sfloat or array-like, shape (n, ), optional Parameters x, yfloat or array-like, shape (n, ) ( x, y, s=None, c=None, marker=None, cmap=None, norm=None, vmin=None, vmax=None, alpha=None, linewidths=None, *, edgecolors=None, plotnonfinite=False, data=None, **kwargs) Ī scatter plot of y vs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |