About 236,000 results
Open links in new tab
  1. python - How to plot multiple bars grouped - Stack Overflow

    How to plot multiple bars in matplotlib, when I tried to call the bar function multiple times, they overlap and as seen the below figure the highest value red can be seen only. How can I plot the

  2. How to display the value on horizontal bars - Stack Overflow

    I generated a bar plot, how can I display the value of the bar on each bar? Current plot: What I am trying to get: My code: import os import numpy as np import matplotlib.pyplot as plt x...

  3. python - How to add value labels on a bar chart - Stack Overflow

    The matplotlib.pyplot.bar_label function, introduced in matplotlib v3.4.0, simplifies the process of adding labels to bar charts. This guide explores how to use this feature to make your data …

  4. How to increase the space between bar plot bars - Stack Overflow

    How do I increase the space between each bar with matplotlib barcharts, as they keep cramming them self to the centre. (this is what it currently looks) import matplotlib.pyplot as plt import …

  5. python - Bar-Plot with two bars and two y-axis - Stack Overflow

    Bar-Plot with two bars and two y-axis Asked 11 years, 6 months ago Modified 2 years, 1 month ago Viewed 156k times

  6. python - Plot a bar plot from a Pandas DataFrame - Stack Overflow

    Assuming I have a DataFrame that looks like this: Hour V1 V2 A1 A2 0 15 13 25 37 1 26 52 21 45 2 18 45 45 25 3 65 38 98 14 I'm trying to create a bar plot to compare

  7. python - Sorting the order of bars in pandas/matplotlib bar plots ...

    Learn how to sort the order of bars in pandas/matplotlib bar plots with practical examples and solutions to common issues.

  8. Annotate bars with values on Pandas bar plots - Stack Overflow

    165 I was looking for a way to annotate my bars in a Pandas bar plot with the rounded numerical values from my DataFrame.

  9. python - Indicating the statistically significant difference in bar ...

    I use a bar graph to indicate the data of each group. Some of these bars differ significantly from each other. How can I indicate the significant difference in the bar plot? import numpy as np …

  10. python - Create 100% stacked bar chart - Stack Overflow

    I need to generate a 100% stacked bar chart, including the % of the distribution (with no decimals) or the number of observations. My dataset looks like this: I need to generate a different one that