Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seaborn - plot matrix #225

Open
junxnone opened this issue Nov 18, 2020 · 1 comment
Open

Seaborn - plot matrix #225

junxnone opened this issue Nov 18, 2020 · 1 comment

Comments

@junxnone
Copy link
Owner

junxnone commented Nov 18, 2020

image image image image

Brief

import matplotlib.pyplot as plt
import seaborn as sns

f, ax = plt.subplots(figsize=(5, 5))
ax = sns.heatmap(np.random.randint(0,10,(5,5)), annot=True, fmt="d",cbar=False)
without cbar with cbar
image image
  • float data
ax = sns.heatmap(np.random.randint(0,10,(5,5)) * 0.5, annot=True, fmt=".1f",cbar=False)

image

@junxnone
Copy link
Owner Author

#68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant