About 24,200 results
Open links in new tab
  1. python - Get default line color cycle - Stack Overflow

    Dec 12, 2017 · In case you want to use the default color cycle for something different, there are of course several options. "tab10" colormap. First it should be mentionned that the "tab10" …

  2. matplotlib: specify default colors explicitly - Stack Overflow

    So, suppose I need to plot num_plots curves, and I want the color selection to be identical to the default one. How do I get the list of colors that matplotlib would use if I call ax.plot exactly …

  3. How to get default blue colour of matplotlib.pyplot.scatter?

    Nov 2, 2017 · How do I get the shade of blue that is used as default in matplotlib.pyplot.scatter? When giving the keyword argument c='b', it gives a darker shade of blue. In this …

  4. python - Named colors in matplotlib - Stack Overflow

    If you would like to use additional named colors when plotting with matplotlib, you can use the xkcd crowdsourced color names, via the 'xkcd:' prefix: plt.plot([1,2], lw=4, c='xkcd:baby poop …

  5. How to set the default color cycle for all subplots with matplotlib?

    How can I set it back to default without having to restart the kernel? I mean, say I just run mpl.rcParams['axes.prop_cycle'] = mpl.cycler(color=["r", "k", "c"]) and plot a bunch of plots. …

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

  7. python - Reset color cycle in Matplotlib - Stack Overflow

    Jun 13, 2014 · In Matplotlib <1.5.0, you can reset the colorcycle to the original with Axes.set_color_cycle.Looking at the code for this, there is a function to do the actual work:

  8. Plotting different colors in matplotlib - Stack Overflow

    By default, different lines are plotted using different colors, that are defined by default and are used in a cyclic manner (hence the name color cycle). The color cycle is a property of the axes …

  9. Default Display of Colors on Bar Chart in Matplotlib

    Jul 17, 2019 · I have an issue with Matplotlib that I can't quite figure out. If I make a bar chart like so: df['Embarked'].value_counts().plot(kind='barh'); I get this chart as a result: Notice the …

  10. python - Is it possible to ignore Matplotlib first default color for ...

    Oct 12, 2017 · Matplotlib plots each column of my matrix a with 4 columns by blue, yellow, green, red. Then, I plot only the second, third, fourth columns from matrix a[:,1:4] . Is it possible to …

Refresh