nmalkin

Results 7 comments of nmalkin

The positioning of the legend is fairly straightforward to control: ```python axes = plot_likert.plot_likert(df, scale) legend = axes.get_legend() legend.set_bbox_to_anchor((1.5, 1)) # or whatever ``` This might be a good thing...

Hi! Yes, it's possible to do that (I added it in #44), but it's not well documented. [Here's an example of how to do it](https://gist.github.com/nmalkin/9a31437d3be18d637d0b63e54926c491).

Thank you for the suggestion! I started thinking a little about how this could be implemented. My first idea was to see if this could be done entirely with matplotlib...

> Maybe I should open another issue, but having the argument in plot_likert.plot_likert would be nice as well :) I went ahead and did this; it seemed quite easy to...

Hi @maxdeze, I threw together a quick proof-of-concept in [55721a8](https://github.com/nmalkin/plot-likert/commit/55721a882d908bf457d853000854903a189f0fca) on the [`set-axis-100` branch](https://github.com/nmalkin/plot-likert/tree/set-axis-100). You can try it out yourself with: `pip install git+https://github.com/nmalkin/plot-likert.git@set-axis-100` That code special-cases the [-100%,100%] situation;...

Though it's worth noting that the changes from 0.6 (#12) aren't operational. On second thought, it would probably be better to address that as part of this PR.