Forum Discussion
Anonymous
4 years agoNot applicable
[Custom Python Visual] Maplotlib Bar Chart Is Showing Empty Space
Hello, As the title says, Matplotlib Bar Chart is showing alot of empty spaces. I want the bar chart to take up all the empty spaces shown below. Any advice on how to get this done? T...
RayWu
Memorable Member
4 years agoAnonymous
To get rid of whitespace around the border, set bbox_inches='tight' in the savefig() method.
I recommend using plotly js custom visual https://appsource.microsoft.com/en-us/product/power-bi-visuals/akvelon.plotlyjsvisualbyakvelon?tab=Overview
You can select bar graph and built on top of it - it has more functionality and is easier to configure stuff.
- Anonymous4 years agoNot applicable
As a comparison, the table below is what I want the chart to look like.
The chart inside the square fills up all of its allotted space. No empty spaces.