graph-cli icon indicating copy to clipboard operation
graph-cli copied to clipboard

Bar char x-axis label gets cut-off

Open dibs439 opened this issue 4 years ago • 5 comments

Hello Miiccah,

Can we tweak the chart in way that X-axis text does not get cut-off without changing the dimension? Here is how it looks now, tets

Thanks

Dibyendu

dibs439 avatar Jul 15 '20 18:07 dibs439

I will look into this..

mcastorina avatar Jul 20 '20 18:07 mcastorina

hi @mcastorina, your package is amazing! Thanks for your efforts!! Regarding this issue: I think you may easily get away with: plt.tight_layout(). Check https://matplotlib.org/stable/tutorials/intermediate/tight_layout_guide.html

@dibs439 you can already set that manually by pressing the menu button (the one with lines a dots) and selecting tight layout.

ag91 avatar Apr 06 '21 19:04 ag91

Thanks for the complement and tip! I didn't know about tight_layout() :)

mcastorina avatar Apr 06 '21 20:04 mcastorina

I've added tight_layout() on by default with a --no-tight option 99c47a96cee11ef16467d93a76b81c41da57b78c

Available in v0.1.13

mcastorina avatar Apr 06 '21 23:04 mcastorina

Thanks a lot @ag91. I will try. Thanks again @mcastorina

dibs439 avatar May 02 '21 16:05 dibs439