Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
plotting histogram
#2
Are you sure that you want a histogram? As a histogram is to show distribution of numerical data, there are usually no labels beside numeric values on x axis ...

Perhaps you want just ordinary barplot, showing counts V1, V2 etc? If so, then easiest way is to use directly your pandas series with value counts:
count_serie.plt('bar')
plots barplot and uses index values (your V1, V2 ...) as labels.
Reply


Messages In This Thread
plotting histogram - by vvv - Mar-10-2017, 10:01 PM
RE: plotting histogram - by zivoni - Mar-10-2017, 11:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to fit a 2D histogram like in ROOT? Zandar 2 4,112 Aug-06-2019, 03:01 PM
Last Post: Zandar
  histogram error alyssaantarctica 1 3,755 Jul-09-2018, 10:46 PM
Last Post: Larz60+
  Plot Probability Density of an Histogram Python_TLS 1 2,883 Jun-28-2018, 06:19 AM
Last Post: scidam
  histogram with matplotlib vaugirard 10 6,240 Jun-01-2018, 04:13 AM
Last Post: vaugirard
  Help creating a histogram using an array rubadub 0 2,181 Apr-17-2018, 08:57 PM
Last Post: rubadub
  Histogram help dandatadan 1 2,545 Nov-25-2017, 06:07 AM
Last Post: heiner55
  mcerp: error while plotting a histogram rakhmadiev 2 4,530 Apr-02-2017, 09:08 PM
Last Post: rakhmadiev

Forum Jump:

User Panel Messages

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