@@ -216,7 +216,7 @@ fp.forestplot(df, # the dataframe with results data
216216 right_annoteheaders = [" P-value" , " Variable group" ], # ^corresponding headers
217217 groupvar = " group" , # column containing group labels
218218 group_order = [" labor factors" , " occupation" , " age" , " health factors" ,
219- " family factors' , " area of residence" , " other factors" ],
219+ " family factors" , " area of residence" , " other factors" ],
220220 xlabel = " Pearson correlation coefficient" , # x-label title
221221 xticks = [- .4 ,- .2 ,0 , .2 ], # x-ticks to be printed
222222 sort = True , # sort estimates in ascending order
@@ -225,7 +225,7 @@ fp.forestplot(df, # the dataframe with results data
225225 ** {" marker" : " D" , # set maker symbol as diamond
226226 " markersize" : 35 , # adjust marker size
227227 " xlinestyle" : (0 , (10 , 5 )), # long dash for x-reference line
228- " xlinecolor" : " .1 " , # gray color for x-reference line
228+ " xlinecolor" : " #808080 " , # gray color for x-reference line
229229 " xtick_size" : 12 , # adjust x-ticker fontsize
230230 }
231231 )
0 commit comments