About 50 results
Open links in new tab
  1. Prettier default plot colors in matplotlib - Stack Overflow

    Apr 4, 2013 · I've also noticed that if you plot more than 5-6 different series in a single plot, matplotlib starts repeating colors. I've seen some gorgeous graphs coming out of other visualization packages …

  2. Color selection for matplotlib that prints well - Stack Overflow

    Dec 20, 2012 · 10 I am using pandas and matplotlib to generate bar-graphs with lots of bars. I know how to cycle through a list of selected colors (How to give a pandas/matplotlib bar graph custom colors). …

  3. Changing colour scheme of python matplotlib python plots

    Nov 17, 2013 · 6 This question already has answers here: How to set the default color cycle for all subplots with matplotlib? (3 answers)

  4. 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...

  5. Matplotlib- Colour scheme - Stack Overflow

    Jan 29, 2021 · You could use plt.imshow() and a ListedColormap. The example below uses yellow instead of gray to see the different colors a bit better ('lightgray' probably looks better than 'gray'). …

  6. 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?

  7. How to obtain RGB values for matplotlib color schemes?

    Jul 11, 2018 · How to obtain RGB values for matplotlib color schemes? Asked 7 years, 6 months ago Modified 7 years, 6 months ago Viewed 6k times

  8. How to create a custom diverging colormap in matplotlib?

    Nov 17, 2020 · I want to create a colormap similar to "RdBu" in matplotlib. I want to make the colormap in this sequence light blue->dark blue-> black (center)->dark red->light red.

  9. Matplotlib Plot Lines with Colors Through Colormap

    The Matplotlib colormaps accept an argument (0..1, scalar or array) which you use to get colors from a colormap. For example:

  10. How to view all colormaps available in matplotlib?

    Dec 16, 2015 · I was wondering if there is a function call that can give me the name of all colormaps available in matplotlib? It used to be possible by something along the lines of (see here): import …