Python Forum
HOw define the colors for two columns?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HOw define the colors for two columns?
#1
Hi there,
I am trying to define some colors for two dimensions.


this is my code, where I defined the colors.
    #what is the vote avarage for Star Wars and Star Treck?
    avg_starwars = df_star_wars ['vote_average'].hist(figsize = (8,8)).color='black'
    avg_startrek = df_star_trek ['vote_average'].hist(figsize = (8,8)).color = 'red'
But the code doesn't work.... Well the bar chart is appears, but the colors are not defined
Reply


Messages In This Thread
HOw define the colors for two columns? - by Jack_Sparrow - Jun-15-2018, 02:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  List of colors adamG 1 2,147 Apr-08-2019, 06:45 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020