Closed Novak3 closed 2 years ago
You should be able to do it by using a combination of the width
and (optionally) the figsize
parameters:
`
That sure looks like it should work, but it doesn't. Is that parameter getting passed to Pandas with kwargs?
This:
plot_likert.plot_likert(df_likert, dilation_scale, colors=new_palette, figsize=(15,5), width = 1)
produces this:
plot_likert() got an unexpected keyword argument 'width'
(The position of the argument doesn't seem to matter.)
Yes, sorry about that, the feature I was using hasn't been released to the main/stable version of the library on PyPI.
I'm hoping to fix that soon, but for now, you can get the pre-release with pip install --pre plot-likert
.
That works-- thanks much!
v0.4.0 is now out, so this no longer requires installing the prerelease version.
Is there a way to change the whitespace or separation between the various Likert bars? Sometimes you've got a great big stack of bars and the whitespace eats up a lot of your page.
I tried changing the location of the Yticks, but that only changed the location of the labels.