Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9020555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:02:55+00:00 2026-06-16T05:02:55+00:00

I am using pandas and matplotlib to generate bar-graphs with lots of bars. I

  • 0

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).
The question is what colors to select so that my graph prints nicely on a paper (it is for a research paper). What I am most interested in is sufficient contrast between the columns and a selection of colors that looks pleasant. I would like to have multiple colors instead of gray-scale or single-hue colorschemes.

Are there any predetermined schemes to select from that people use?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T05:02:56+00:00Added an answer on June 16, 2026 at 5:02 am

    In 1.5 matplotlib will ship with 4 new rationally designed color maps:

    • 'viridis' (default color map as of 2.0)
    • 'magma'
    • 'plasma'
    • 'inferno'.

    The process of designing these color maps is presented in A Better Default Colormap for Matplotlib | SciPy 2015 .

    enter image description here

    The tool developed for this process can be installed by pip install viscm.


    I would suggest the cubehelix color map. It is designed to have correct luminosity ordering in both color and gray-scale.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just started using pandas/matplotlib as a replacement for Excel to generate stacked bar
I'm using Python 2.7.3 in 64-bit. I installed pandas as well as matplotlib 1.1.1,
I'm plotting a timeseries in pandas using matplotlib and I'm trying to color a
I've managed to make the following bar plot using matplotlib.pyplot. The plot comes from
I am trying to graph a Pandas dataframe using Matplotlib. The dataframe contains four
I'm using the excellent pandas package to deal with a large amount of varied
I am using pandas to get the count of the Text type data and
I'm using pandas and I'm wondering what's the easiest way to get the business
I get the Fama-French factors from Ken French's data library using pandas.io.data , but
Using pandas I can compute simple moving average SMA using pandas.stats.moments.rolling_mean exponential moving average

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.