About 697,000 results
Open links in new tab
  1. python - Named colors in matplotlib - Stack Overflow

    What named colors are available in matplotlib for use in plots? I can find a list on the matplotlib documentation that claims that these are the only names: b: blue g: green r: red c: cyan m: mag...

  2. How to pick a new color for each plotted line within a figure

    In this case, colors will vary from black to 100% green, but you can tune it if you want. See the matplotlib plot () docs and look for the color keyword argument.

  3. python - Plotting different colors in matplotlib - Stack Overflow

    Suppose I have a for loop and I want to plot points in different colors: for i in range(5): plt.plot(x,y,col=i) How do I automatically change colors in the for loop?

  4. How to cycle through colors in a plot for each iteration of a for loop

    Apr 7, 2020 · I am trying to run a for loop that cycles through colours for each iteration of a for loop. I am finding similar questions that cycle through colours but not one that is dependent on …

  5. What are the hex codes of matplotlib tab10 palette?

    Oct 15, 2020 · Do you know what are the hex codes or RGB values of the "tab" palette (the default 10 colors: tab:blue, tab:orange, etc...) of matplotlib ? And possibly do you know how if …

  6. Matplotlib Plot Lines with Colors Through Colormap

    Matplotlib Plot Lines with Colors Through Colormap Asked 9 years, 3 months ago Modified 1 year, 11 months ago Viewed 192k times

  7. Setting different color for each series in scatter plot

    The normal way to plot plots with points in different colors in matplotlib is to pass a list of colors as a parameter. E.g.: import matplotlib.pyplot matplotlib ...

  8. python - Color a scatter plot by Column Values - Stack Overflow

    I'm wondering if there are there any convenience functions that people use to map colors to values using pandas dataframes and Matplotlib? ##ggplot scatterplot example with R …

  9. python - Matplotlib discrete colorbar - Stack Overflow

    I am trying to make a discrete colorbar for a scatterplot in matplotlib I have my x, y data and for each point an integer tag value which I want to be represented with a unique colour, e.g. plt.s...

  10. python - Manually set color of points in legend - Stack Overflow

    I'm making a scatter plot which looks like this: (MWE at bottom of question) As can be seen in the image above the colors of the points in the legend are set to blue automatically by matplotlib. I...