Answers for "sns heatmap figsize"

0

sns heatmap figsize

fig = plt.gcf()  # or by other means, like plt.subplots
figsize = fig.get_size_inches()
fig.set_size_inches(figsize * 1.5)  # scale current size by 1.5
Posted by: Guest on August-29-2021
0

heatmap figsize

import matplotlib.pyplot as plt

fig, ax = plt.subplots(figsize=(10,10))         # Sample figsize in inches
sns.heatmap(df1.iloc[:, 1:6:], annot=True, linewidths=.5, ax=ax)
Posted by: Guest on July-15-2021

Browse Popular Code Answers by Language