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

Bug: `network_p2p()` and `network_g2g()` cannot be used with `export()` #15

Open martinctc opened 8 months ago

martinctc commented 8 months ago

When using the plot output of network_p2p() with export(), I get the following error:

ine 71, in export
    x.savefig( # matplotlib.savefig
AttributeError: 'NoneType' object has no attribute 'savefig'

This is because the plot output is 'NoneType' when I run type(plot_p2p), whereas for the other plots the return is matplotlib.figure.Figure.