Pandas Seaborn Heatmap Error
<p>I have a DataFrame that looks like this when unstacked.</p>

<pre><code>Start Date  2016-07-11  2016-07-12  2016-07-13
Period
0             1.000000    1.000000         1.0
1             0.684211    0.738095         NaN
2             0.592105         NaN         NaN
</code></pre>

<p>I'm trying to plot it in Seaborn as a heatmap but it's giving me unintended results.</p>

<p><a href="https://i.stack.imgur.com/aMWJA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aMWJA.png" alt="enter image description here"></a></p>

<p>Here's my code:</p>

<pre><code>import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
df = pd.DataFrame(np.array(data), columns=['Start Date', 'Period', 'Users'])
df = df.fillna(0)
df = df.set_index(['Start Date', 'Period'])
sizes = df['Users'].groupby(level=0).first()
df = df['Users'].unstack(0).divide(sizes, axis=1)
plt.title("Test")
sns.heatmap(df.T, mask=df.T.isnull(), annot=True, fmt='.0%')
plt.tight_layout()
plt.savefig(table._v_name + "fig.png")
</code></pre>

<p>I want it so that text doesn't overlap and there aren't 6 heat legends on the side. Also if possible, how do I fix the date so that it only displays %Y-%m-%d?</p>