microsoft / vivainsights-py

Python package for Analyzing and Visualizing data from Viva Insights
https://microsoft.github.io/vivainsights-py/
Other
14 stars 2 forks source link

Issue with `create_boxplot` same plot on different metric and different hrvar #31

Closed sachinstl closed 1 month ago

sachinstl commented 1 month ago

create_boxplot function, it is showing same plot even if we give different metric and different hrvar. I also reviewed the code, there is a mistake in code while generating boxplot. On line 86, in _createboxplot.py file it is currently as below:

image

Fix:

sns.boxplot(x=hrvar, y=metric, data= data, ax=ax)