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

Fix: fix warnings coming due to FixedLocator in a matplotlib.ticker #7

Closed sachinstl closed 1 year ago

sachinstl commented 1 year ago

Summary

This pull request fixes warnings due to FixedLocator in a matplotlib.ticker.

Previous runs of certain functions (plotting a matplotlib object) trigger the following warning:

serWarning: FixedFormatter should only be used together with FixedLocator

Changes

Changes have been applied to the following functions:

martinctc commented 1 year ago

Thanks @sachinstl for fixing this bug!

sachinstl commented 1 year ago

This pull request fixes warnings due to FixedLocator in a matplotlib.ticker. Fix for create_line, create_rank and create_boxplot. Previous runs of certain functions (plotting a matplotlib object) trigger the following warning: serWarning: FixedFormatter should only be used together with FixedLocator

martinctc commented 1 year ago

Thanks @sachinstl - all looks good. I fixed hrvar_count too, which happened to be returning with the same warning. Merging this in now.