LSYS/forestplot

Horizontal space between the chart and variable column

Closed this issue · 4 comments

Hello,
I followed your instruction to install then tried the sample code here. But it create the big space between the chart and the column to show variables. I tried some other examples of my own but the outputs seem same. Do you have any idea why? Thank you very much.
test

LSYS commented

hi @yokomotoh, can i check how you are running it? Which OS, notebook version, etc.?

eric9n commented

To change the labels in forestplot from being justified to center-aligned, you can adjust the flush parameter. The flush parameter is set to True by default, which means the variable labels and annotations are left-aligned. To center-align them, you can set this parameter to False.

LSYS commented

hi @yokomotoh, it might be the matplotlib backend with pycharm that's causing conflict (sorry about that!). I suspect you might find better behavior in a notebook environment.