About 5,410,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 do I print colored text to the terminal? - Stack Overflow

    Apr 25, 2019 · I'll try and clarify a bit: Colorama aims to let Python programs print colored terminal text on all platforms, using the same ANSI codes as described in many other answers on this …

  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 do I print colored output with Python 3? - Stack Overflow

    Sep 13, 2016 · I have a simple print statement: print ('hello friends') I would like the output to be blue in the terminal. How can I accomplish this with Python3?

  5. How can I color Python logging output? - Stack Overflow

    Dec 21, 2008 · Now, Python has the logging module, which lets you specify a lot of options to customize output. So, I'm imagining something similar would be possible with Python, but I …

  6. python 3.x - What are the exact color names available in PIL's ...

    Jan 13, 2019 · Is there a list of all the named colors available in pillow? I couldn't find reference to the exact color names in the documentation.

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

    If you look at the image above, you can see that matplotlib attempts to pick colors for each line that are different, but eventually it re-uses colors - the top ten lines use the same colors as the …

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

    One of my favorite aspects of using the ggplot2 library in R is the ability to easily specify aesthetics. I can quickly make a scatterplot and apply color associated with a specific column …

  9. python - Setting different color for each series in scatter plot ...

    I used another method to assign the colors for each series in a scatter plot. Now it works, unfortunately I couldn't proceed with your elegant solution when it came to errorbars, still I'm …

  10. Defining a color in python - Stack Overflow

    Aug 17, 2011 · I have a question that may be straight forward, or may be impossible to answer, I'm not sure. I'm wondering how I can define a color in python. For example, I would like to …