question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extra Spaces Between Markers in Bar Plot

See original GitHub issue

Hi,

Really like this lib, awesome work.

Would need some help on how to render this graph properly it currently result in this rendering with a lot a gap/spaces between values on y-axis.

Screenshot 2022-08-29 at 12 17 18

Any ideas on how to fix that.

I have tried using plot or bar graph type with no real success.

Data are a list of values by time.

plt.bar(dates, values, color = 'red');

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
darul75commented, Sep 2, 2022

Fantastic @piccolomo really like the result and the way you have been collaborating with me asking for a change. Great job! will let you know and test is asap.

1reaction
darul75commented, Aug 29, 2022

Nice, that was it, thank you so much, learned something new again today.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to change the space between bars when drawing ...
To change the space between bars when drawing multiple barplots in Pandas within a group, we can use linewidth in plot() method.
Read more >
How to control distance between bars in bar chart
There are 2 properties that you are asking for. They are as follows: bargap - gap between bars of adjacent location coordinates.
Read more >
Control width and space in barplots using matplotlib
This post explains how to control width of bars in a barplot and how to control space between them using matplotlib library. Barplot...
Read more >
Lines, bars and markers — Matplotlib 3.6.2 documentation
Grouped bar chart with labels ... Filling the area between lines. Fill Betweenx Demo. Fill Betweenx Demo ... Mapping marker properties to multivariate...
Read more >
Add space between histogram bars in Matplotlib
The space between bars can be added by using rwidth parameter inside the “plt.hist()” function. This value specifies the width of the bar...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found